Skip to contents

Add a template .Rprofile file to a project directory.

Usage

Rprofile(project_directory, renv = TRUE)

Arguments

project_directory

the project directory file path

renv

add infrastructure for renv package environment management

Examples

if (FALSE) {
projectSkeleton(paste0(tempdir(),'/test_project'))
Rprofile(paste0(tempdir(),'/test_project'))
}