Closed k-doering-NOAA closed 1 year ago
Thanks to @ChristineStawitz-NOAA for figuring out this post command allows devtools::check() to work:
"postCreateCommand": "echo 'options(repos = c(CRAN = \"https://cloud.r-project.org\"))' | sudo sh -c 'cat - >>\"${R_HOME}/etc/Rprofile.site\"'",
I think this would be necessary for a codespace used to develop and R package, so perhaps we should have a separate template for running r code vs developing an r package.
addressed in #10
Thanks to @ChristineStawitz-NOAA for figuring out this post command allows devtools::check() to work:
I think this would be necessary for a codespace used to develop and R package, so perhaps we should have a separate template for running r code vs developing an r package.