FredHutch / VISCtemplates

Tools for writing reproducible reports at VISC
Other
6 stars 2 forks source link

Add new checks for project name and existence of directory #78

Closed monicagerber closed 2 years ago

monicagerber commented 3 years ago

VISCtemplates::create_visc_project() already checks for existence of .Rproj file and DESCRIPTION file in the path for the new project because it is built on usethis::create_package().

This PR adds two additional steps:

1) reminds the user of VISC analysis project naming conventions and asks if they would like to continue (#5 ) 2) checks if directory exists, and if it exists, asks the user if they would like to continue (#13 )