* installing *source* package 'hdbayes' ... ** using staged installation ** libs installing via 'install.libs.R' to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-hdbayes/00new/hdbayes Error: ! in callr subprocess. Caused by error: ! The package "cmdstanr" is required The {cmdstanr} package is required in order to install CmdStan and run Stan models. Please install it manually using install.packages(pkgs = "cmdstanr", repos = c("https://mc-stan.org/r-packages/", getOption("repos")) --- Backtrace: 1. tools:::.install_packages() 2. local do_install(pkg) 3. local do_install_source(pkg_name, instdir, pkg, desc) 4. local run_shlib(pkg_name, srcs, instdir, rarch, use_LTO) 5. local shlib_install(instdir, arch) 6. base::source("install.libs.R", local = local.env) 7. | base::withVisible(eval(ei, envir)) 8. | base::eval(ei, envir) 9. | base::eval(ei, envir) 10. callr::r(func = function(bin_stan) { … 11. callr:::get_result(output = out, options) 12. callr:::throw(callr_remote_error(remerr, output), parent = fix_msg(remerr[[3]])) --- Subprocess backtrace: 1. instantiate::stan_package_compile(models = instantiate::stan_package_model… 2. instantiate:::stan_assert_cmdstanr() 3. base::tryCatch(rlang::check_installed(pkg = "cmdstanr", reason = paste("The {cmd… 4. base::tryCatchList(expr, classes, parentenv, handlers) 5. base::tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. value[[3L]](cond) 7. instantiate:::stan_error(conditionMessage(e)) 8. instantiate:::stan_stop(message = message, class = c("stan_error", "stan")) 9. rlang::abort(message = message, class = class, call = emptyenv()) 10. | rlang:::signal_abort(cnd, .file) 11. | base::signalCondition(cnd) 12. global (function (e) … * removing 'd:/RCompile/CRANincoming/R-devel/lib/hdbayes'