I find myself doing something like this often:
- Create a new project in RStudio (but forget to create it as an R package),
- Wish that I could call
devtools::create() or devtools::setup() to turn it into an R package.
Two things to 'wish' for:
devtools::create() shouldn't fail for empty directories (or directories only a .Rproj file),
devtools::setup() shouldn't fail if a .Rproj file already exists.
I find myself doing something like this often:
devtools::create()ordevtools::setup()to turn it into an R package.Two things to 'wish' for:
devtools::create()shouldn't fail for empty directories (or directories only a .Rproj file),devtools::setup()shouldn't fail if a.Rprojfile already exists.