The goal of setup_rprojects is to quickly set up my r projects
You can install the development version of setup_rprojects like so:
remotes::install_github('wvictor14/setup_rprojects')
create_project()
is a wrapper:
- calls
usethis::create_package
targets::use_targets
+ minimal targets templatewrite_r_profile
loads common packages and sets up ggplot2 theme- calls
renv::init()
- adds few things to
.gitignore
library(setup_rprojects)
## basic example code
create_project('NEW_PROJECT')
## start targets project with minimal _targets script
write_targets_script()
## default rprofile
write_r_profile()