create_terminal_dir: Create terminal repo directory

Description Usage Arguments Value References Examples

Description

This will create the required terminal directory in the repo.

Usage

1
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

1
2
3
4
5
6
## Not run: 
repo_base <- file.path(".")
version <- '3.0'
create_terminal_dir(repo_base, version)

## End(Not run)

managelocalrepo documentation built on May 2, 2019, 8:37 a.m.