Skip to contents

Returns the path where downloaded CPS technical documentation files are stored. The default is ~/cps_docs, which expands to your home directory on any platform.

Usage

cps_docs_dir()

Value

A character string giving the expanded documentation directory path.

Details

To use a different location persistently, add this to your .Rprofile:

options(cpsvote.docsdir = "~/my/path/to/cps_docs")

Any path set this way will be used automatically by cps_download_docs() without needing to pass path each time.