Problem installing CmdStan v2.30.0-rc1 with cmdstanr::install_cmdstan()

> install_cmdstan(cores = 4)
The C++ toolchain required for CmdStan is setup properly!
* Latest CmdStan release is v2.30.0-rc1
* Installing CmdStan v2.30.0-rc1 in /Users/eric/.cmdstan/cmdstan-2.30.0-rc1
* Downloading cmdstan-2.30.0-rc1.tar.gz from GitHub...
* Download complete
* Unpacking archive...
* Building CmdStan binaries...
cp bin/mac-stanc bin/stanc
make: *** No rule to make target `stan/src/stan/model/model_header.hpp', needed by `stan/src/stan/model/model_header.hpp.gch'.  Stop.
make: *** Waiting for unfinished jobs....

--- Compiling the main object file. This might take up to a minute. ---
clang++    -c -o src/cmdstan/main.o src/cmdstan/main.cpp
chmod +x bin/stanc
src/cmdstan/main.cpp:1:10: fatal error: 'cmdstan/command.hpp' file not found
#include <cmdstan/command.hpp>
1 error generated.
make: *** [src/cmdstan/main.o] Error 1

Here is Session Info:

R version 4.2.0 (2022-04-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Monterey 12.0.1

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib

[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] cmdstanr_0.5.2  forcats_0.5.1   stringr_1.4.0   dplyr_1.0.9     purrr_0.3.4    
 [6] readr_2.1.2     tidyr_1.2.0     tibble_3.1.7    ggplot2_3.3.6   tidyverse_1.3.1

loaded via a namespace (and not attached):
 [1] httr_1.4.3           jsonlite_1.8.0       modelr_0.1.8         RcppParallel_5.1.5  
 [5] StanHeaders_2.21.0-7 assertthat_0.2.1     posterior_1.2.2      distributional_0.3.0
 [9] stats4_4.2.0         ggdist_3.1.1         tensorA_0.36.2       cellranger_1.1.0    
[13] yaml_2.3.5           pillar_1.7.0         backports_1.4.1      glue_1.6.2          
[17] digest_0.6.29        checkmate_2.1.0      rvest_1.0.2          colorspace_2.0-3    
[21] htmltools_0.5.2      pkgconfig_2.0.3      rstan_2.21.5         broom_0.8.0         
[25] haven_2.5.0          scales_1.2.0         processx_3.6.1       tzdb_0.3.0          
[29] generics_0.1.2       farver_2.1.0         ellipsis_0.3.2       withr_2.5.0         
[33] cli_3.3.0            magrittr_2.0.3       crayon_1.5.1         readxl_1.4.0        
[37] evaluate_0.15        ps_1.7.1             fs_1.5.2             fansi_1.0.3         
[41] xml2_1.3.3           pkgbuild_1.3.1       tools_4.2.0          loo_2.5.1           
[45] prettyunits_1.1.1    hms_1.1.1            lifecycle_1.0.1      matrixStats_0.62.0  
[49] munsell_0.5.0        reprex_2.0.1         callr_3.7.0          compiler_4.2.0      
[53] rlang_1.0.2          grid_4.2.0           rstudioapi_0.13      rmarkdown_2.14      
[57] gtable_0.3.0         codetools_0.2-18     inline_0.3.19        abind_1.4-5         
[61] DBI_1.1.3            R6_2.5.1             gridExtra_2.3        lubridate_1.8.0     
[65] knitr_1.39           fastmap_1.1.0        utf8_1.2.2           stringi_1.7.6       
[69] parallel_4.2.0       Rcpp_1.0.8.3         vctrs_0.4.1          dbplyr_2.2.0        
[73] tidyselect_1.1.2     xfun_0.31 

Any ideas?

Hey,install_cmdstan() without a specified version should not install the RC and should install the 2.29.2 release. That will be the case until the RC becomes the official release.

I think you might have caught a period when we mistakenly marked the RC as the official release and the tar.gz have not been updated yet. We addressed that now.

Thanks, Rok, all good now.