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.
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.