Closed sgaichas closed 1 month ago
attempting renv::restore()
right now
Update: @kimberly-bastille ran restore and it worked. I ran restore and it errored out due to a missing component on my local machine. Either way this may not matter to editing tech doc as long as we don't build it locally.
@andybeet I'm trying a fix to a tech doc page without having any of the packages installed to see if it builds online
could be hours before we know.... tech doc build is long!
so I pushed a change to the Single Species Status Indicator .Rmd without key packages loaded in the project library (R studio prompted me to install DT but I didn't), and the tech-doc build worked fine: https://noaa-edab.github.io/tech-doc/stockstatus.html#stockstatus
this seems to confirm that as long as we are not building locally, we can ignore errors and warnings from renv
and proceed with editing?
the only caveat is I did install rmarkdown
(and dependencies) into the project library prior to making this change, but I think that should not matter?
@sgaichas Agreed. Having Rmarkdown installed or not will have no impact on the github actions build. So editing chapters and pushing either to main or as a pull request will work. An issue will only occur if you try to build locally.
@andybeet and I have both tried over different networks and with different versions of R. (@kimberly-bastille )
Seems to be related to the
renv
package, diagnosing nowthis is the error message upon opening