This is not so much a request for action as it is just sharing my experience. I've noticed that working with surveydown in an renv environment is tricky. The following procedure did not work for me on my Mac:
open empty project folder in Rstudio or Positron
renv::init()
install.packages('surveydown')
surveydown::sd_create_survey()
Hit 'Run App' in GUI
Resulting app looks like this:
The trick was that I had to also install this stuff:
renv::install(c("bslib", "sass", "htmltools", "jquerylib"))
Then I deleted the cached files in _survey/ and ran again, and all the correct styling was present.
I wanted to test whether this was reproducible on a Linux VM, but I couldn't even properly install surveydown in an renv environment in that case--a bunch of dependencies failed to install--and I didn't have time to troubleshoot it (installing globally, without renv, worked just fine.)
Like I said, no action is needed from the maintainers. Just leaving this here in case anyone else is having trouble installing surveydown dependencies with renv. Make sure that you've got all the dependencies, because renv might not install everything for you.
This is not so much a request for action as it is just sharing my experience. I've noticed that working with surveydown in an renv environment is tricky. The following procedure did not work for me on my Mac:
open empty project folder in Rstudio or Positron
renv::init()install.packages('surveydown')surveydown::sd_create_survey()Hit 'Run App' in GUI
Resulting app looks like this:
The trick was that I had to also install this stuff:
renv::install(c("bslib", "sass", "htmltools", "jquerylib"))
Then I deleted the cached files in _survey/ and ran again, and all the correct styling was present.
I wanted to test whether this was reproducible on a Linux VM, but I couldn't even properly install surveydown in an renv environment in that case--a bunch of dependencies failed to install--and I didn't have time to troubleshoot it (installing globally, without renv, worked just fine.)
Like I said, no action is needed from the maintainers. Just leaving this here in case anyone else is having trouble installing surveydown dependencies with renv. Make sure that you've got all the dependencies, because renv might not install everything for you.