Closed silberzwiebel closed 5 years ago
Thanks @silberzwiebel. I am aware of this issue and I did leave it on purpose to be raised by someone. Here are two solutions for a list.files() == c('rstudioproject.Rproj', '.Rproj.user')
check:
tempdir()
and back after creationusethis::use_rstudio()
function into geoplumber
.UPDATE: 3. Check and stop CRA if .Rproj is there, allow user to create basic Rproj (implemented in commits below)
If you have any other solutions, I am happy to consider them. At this stage, it looks like cleaner and safer to go with the second option.
I literally cannot find time to deal with issues I am aware of, so apologies there.
Please reopen if need be. Thanks @silberzwiebel
I think there is still some work to be done here.
From the README:
I created an RStudio project and wanted to create a geoplumber app on top of that but this fails with:
Doing it the other way round (first
gp_create()
then creating an RStudio project in that folder) works fine. It might be good enough to just change the README?