create_terminal_dir {managelocalrepo} | R Documentation |
This will create the required terminal directory in the repo.
create_terminal_dir(repo_base, version, type = "win", ...)
repo_base |
the path of the base of the repository tree. This will have the following child folders: repo_base/bin/ and repo_base/src/. A character vector of length one. |
version |
the version of R that the package should be made available for.
This is not relevant when |
type |
should be |
... |
optional arguments to pass to |
No return value. Will create directory if the directory does not exist. Otherwise it will return an error message.
Setting up a package repository
## Not run:
repo_base <- file.path(".")
version <- '3.0'
create_terminal_dir(repo_base, version)
## End(Not run)