geocompx / geocompr

Geocomputation with R: an open source book
https://r.geocompx.org/
Other
1.52k stars 581 forks source link

GHA fails #1104

Closed Nowosad closed 3 months ago

Nowosad commented 3 months ago

@jannes-m -- can you take a look at this issue?

https://github.com/geocompx/geocompr/actions/runs/9506507673/job/26203836167

62/70 [15-eco-27]        
Error in `.__ParamSet__get_values()`:
! unused argument (is_bounded = is_bounded)
Backtrace:
 1. autotuner_rf$predict(task)
 2. mlr3:::.__Learner__predict(...)
 3. mlr3::assert_predictable(task, self)
 4. mlr3:::assert_task_learner(task, learner, cols = task$feature_names)
 5. learner$param_set$get_values(type = "only_token", check_required = FALSE)

Quitting from lines 532-534 [15-eco-27] (15-eco.Rmd)
jannes-m commented 3 months ago

I'll have a look next week

jannes-m commented 3 months ago

Should work again. Our autotuning result saved to extdata/15-tune.rds became outdated, i.e., it did no longer work with the most recent mlr3 package versions.

Robinlovelace commented 3 months ago

Great job Jannes.

One workflow is failing but with unrelated issue:

processing file: references.Rmd
1/1
output file: references.knit.md

/usr/bin/pandoc +RTS -K512m -RTS geocompr2.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output geocompr2.html --lua-filter /usr/local/lib/R/site-library/bookdown/rmarkdown/lua/custom-environment.lua --lua-filter /usr/local/lib/R/site-library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /usr/local/lib/R/site-library/rmarkdown/rmarkdown/lua/latex-div.lua --metadata-file /tmp/Rtmpcopd0g/filece1e61cae --wrap preserve --standalone --section-divs --template style/bs4_book.html --highlight-style pygments --number-sections --css style/style.css --mathjax --include-in-header /tmp/Rtmpcopd0g/rmarkdown-strce467bf941.html --include-in-header style/ga.html --citeproc 
Error in eval(quote({ : 
  The number of arguments passed to Rscript should be 3.
Calls: local -> eval.parent -> eval -> eval -> eval -> eval
Execution halted
Error: Failed to run 'rmarkdown::render' in a new R session.
Execution halted
Error: Process completed with exit code 1.

https://github.com/geocompx/geocompr/actions/runs/9554134459/job/26334527540