stan-dev / projpred

Projection predictive variable selection
https://mc-stan.org/projpred/
Other
110 stars 26 forks source link

Tests: Avoid errors in case of unavailable packages #415

Closed fweber144 closed 1 year ago

fweber144 commented 1 year ago

On CRAN, rstanarm doesn't seem to be installed on all test platforms anymore (or the tests are run with packages from Suggests excluded), see https://cran.r-project.org/web/checks/check_results_projpred.html (date: May 22, 2023, time: 10:59 UTC). Therefore, we need to catch this in the tests and not throw an error in case of rstanarm being unavailable. This is achieved by this PR.