managelocalrepo (version 0.1.5)

create_terminal_dir: Create terminal repo directory

Description

This will create the required terminal directory in the repo.

Usage

create_terminal_dir(repo_base, version, type = "win", ...)

Arguments

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 is src. A character vector of length one.
type
should be "win" (default), "mac" or src for Windows binary, Mac binary and source package distributions respectively.
...
optional arguments to pass to file.path

Value

No return value. Will create directory if the directory does not exist. Otherwise it will return an error message.

References

Setting up a package repository

Examples

Run this code
## Not run: 
# repo_base <- file.path(".")
# version <- '3.0'
# create_terminal_dir(repo_base, version)
# ## End(Not run)

Run the code above in your browser using DataLab