noaa-onms / cinms

Channel Islands National Marine Sanctuary
https://noaa-onms.github.io/cinms
MIT License
3 stars 1 forks source link

update-oceano Action failing with Error: "unused argument.. glue("{nms}") #75

Closed bbest closed 3 years ago

bbest commented 3 years ago

See: https://github.com/marinebon/cinms/runs/1665699092?check_suite_focus=true for the Error:

Quitting from lines 44-48 (kelp-forest_key-climate-ocean.Rmd) 
Error in here(glue("data/oceano/statistics_sst_{nms}.csv")) : 
  unused argument (glue("data/oceano/statistics_sst_{nms}.csv"))
Calls: <Anonymous> ... handle -> withCallingHandlers -> withVisible -> eval -> eval
In addition: There were 50 or more warnings (use warnings() to see the first 50)
Execution halted

Error: Process completed with exit code 1.

Why is nms not being set with a value?

superjai commented 3 years ago

Hey @bbest - despite changes made, github actions still not working. Here is the error log.

The trouble seems to be connected to the use of the librarian package in the file _key_climate_ocean.Rmd. Maybe problem would be solved if librarian was included in the docker container bdbest/cinms

Here's the specific error output:

Quitting from lines 2-32 (./_key-climate-ocean.Rmd) 
Quitting from lines NA-32 (./_key-climate-ocean.Rmd) 
Error: Bad Gateway
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'librarian'