nstalling mingw32-make and writing RTools path to ~/.Renviron …
Error
Other C++ toolchains installed on your system conflict with RTools.
Please run check_cmdstan_toolchain(fix = TRUE) to fix the issue.
$stdout
[1] “:: Synchronizing package databases…\n mingw32 is up to date\n mingw64 is up to date\n:: Starting core system upgrade…\n there is nothing to do\n:: Starting full system upgrade…\nresolving dependencies…\nlooking for conflicting packages…\n\nPackages (1) mingw-w64-x86_64-make-4.2.1-2\n\nTotal Installed Size: 1.33 MiB\nNet Upgrade Size: 0.00 MiB\n\n:: Proceed with installation? [Y/n] \nchecking keyring…\nchecking package integrity…\nloading package files…\nchecking for file conflicts…\nchecking available disk space…\n:: Processing package changes…\nreinstalling mingw-w64-x86_64-make…\n”
$stderr
[1] “warning: mingw-w64-x86_64-make-4.2.1-2 is up to date – reinstalling\n”
Installing mingw32-make and writing RTools path to ~/.Renviron …
Error:
Other C++ toolchains installed on your system conflict with RTools.
Please run check_cmdstan_toolchain(fix = TRUE) to fix the issue.
My session is
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 16299)
i have tried the beta version cdmstanr and latest version.
@rok_cesnovar Thanks for figuring this out. Since in this case the default of check_toolchain=TRUE was actually preventing this from working, do you think it makes sense to automatically try with FALSE if there’s an error when TRUE? Or is there something else we can do to avoid this?
@jonah I think I need to figure out why it failed here. The other option would be to go with FALSE and suggest running check_cmdstan_toolchain if install_cmdstan fails.