Skip to content

Commit 88acec7

Browse files
committed
Added stuff to help cmd check with stan on mac
1 parent e2b670e commit 88acec7

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,17 @@ jobs:
4949
with:
5050
upload-snapshots: true
5151
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
52-
error-on: '"error"'
52+
error-on: '"error"'
53+
54+
- name: Install BH
55+
run: Rscript -e "install.packages('BH')"
56+
57+
- name: Install macOS Rtools
58+
if: runner.os == 'macOS'
59+
run: Rscript -e "install.packages('r-macos-rtools')"
60+
61+
- name: Configure Makevars
62+
run: |
63+
mkdir -p ~/.R
64+
echo "CXX14FLAGS=-O3 -mtune=native -arch x86_64 -ftemplate-depth-256" >> ~/.R/Makevars
65+
echo "CXX14=/usr/local/clang7/bin/clang++" >> ~/.R/Makevars

0 commit comments

Comments
 (0)