File tree Expand file tree Collapse file tree 2 files changed +3
-31
lines changed
Expand file tree Collapse file tree 2 files changed +3
-31
lines changed Original file line number Diff line number Diff line change @@ -37,46 +37,18 @@ jobs:
3737 - uses : r-lib/actions/setup-r@v2
3838 with :
3939 r-version : ${{ matrix.config.r }}
40- extra-repositories : ' https://mc- stan.org/r-packages/ '
40+ extra-repositories : ' https://stan-dev.r-universe.dev '
4141 http-user-agent : ${{ matrix.config.http-user-agent }}
4242 use-public-rspm : true
4343
4444 - uses : r-lib/actions/setup-r-dependencies@v2
4545 with :
4646 extra-packages : |
47- any::cmdstanr
4847 any::testthat
4948 any::devtools
49+ any::cmdstanr
5050 local::.
5151
52-
53- # --- (Windows only): ensure Rtools44 paths on PATH ---
54- - name : Add Rtools to PATH
55- if : runner.os == 'Windows'
56- shell : powershell
57- run : |
58- $paths = @(
59- 'C:\rtools44\usr\bin',
60- 'C:\rtools44\ucrt64\bin'
61- )
62- $paths | ForEach-Object {
63- if (Test-Path $_) {
64- echo "Adding $_ to PATH"
65- echo $_ >> $env:GITHUB_PATH
66- } else {
67- Write-Host "Path missing (ignore if not needed): $_"
68- }
69- }
70-
71- - name : Verify toolchain (Windows)
72- if : runner.os == 'Windows'
73- shell : powershell
74- run : |
75- where make
76- where g++
77- g++ --version
78- make --version
79-
8052 - name : Install CmdStan
8153 shell : Rscript {0}
8254 run : |
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ To install from Github, first install CmdStanr and CmdStan:
2424
2525``` r
2626install.packages(" cmdstanr" , repos = c(' https://stan-dev.r-universe.dev' , getOption(" repos" )))
27- cmdstanr :: check_cmdstan_toolchain()
27+ cmdstanr :: check_cmdstan_toolchain(fix = TRUE )
2828cmdstanr :: install_cmdstan()
2929```
3030
You can’t perform that action at this time.
0 commit comments