Creates a package .Rproj file.

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

Ivan Jacob Agaloos Pesigan

Examples

if (FALSE) { pkg_rproj( pkg_root = "~/boilerplatePackage" ) }