pkg_rproj: Create a Package '.Rproj' File

Description Usage Arguments Details Author(s) Examples

View source: R/pkg_rproj.R

Description

Creates a package .Rproj file.

Usage

1
pkg_rproj(pkg_root = getwd(), msg = "Rproj file path:")

Arguments

pkg_root

Character string. Package root directory.

msg

Character string. Optional message. If supplied, prints msg dir/fn.

Details

Note that if pkg_create() is used, this function will be called.

THIS FUNCTION OVERWRITES AN EXISTING .Rproj FILE IN THE SPECIFIED PACKAGE ROOT DIRECTORY. USE WITH CAUTION.

Author(s)

Ivan Jacob Agaloos Pesigan

Examples

1
2
3
4
5
6
## Not run: 
pkg_rproj(
  pkg_root = "~/boilerplatePackage"
)

## End(Not run)

jeksterslabds/jeksterslabRpkg documentation built on Jan. 22, 2021, 11:43 p.m.