easystats / report

:scroll: :tada: Automated reporting of objects in R
https://easystats.github.io/report/
Other
692 stars 69 forks source link

report.loo_compare docs example broken #450

Open DominiqueMakowski opened 1 month ago

DominiqueMakowski commented 1 month ago

https://easystats.github.io/report/reference/report.compare.loo.html 🙈

image

strengejacke commented 1 month ago

I think this is an issue from downloading packages in pkgdown. RccpEigen cannot be found/installed for some reasons, see also https://github.com/easystats/report/actions/runs/9798384861/job/27056744608.

rempsyc commented 1 month ago

Ahhhh ok I was precisely wondering why some of our tests are failing with,

Compiling Stan program...
Error in .fun(model_code = .x1) : 
  Eigen not found; call install.packages('RcppEigen')

I guess there's nothing we can do about RcppEigen not downloading? :/

This is affecting both the test coverage and check all examples workflows. But these are not pkgdown workflows. So then I wonder why it doesn't download RcppEigen properly.

IndrajeetPatil commented 1 month ago

For any workflow to download a certain package, the DESCRIPTION file needs to specify it as a dependency, either as a direct or a recursive one.

The way to solve this issue is to add {RcppEigen} to Suggests field in DESCRIPTION.

Also, we should be running these examples conditional on this package's availability.