Skip to content

Commit c1e91f3

Browse files
committed
Update CircleCI workflow, setting environment var.
Instead of passing via configure.vars, explicitly set the environment variables prior to calling remotes::install_git. This approach works across all three major operating systems. Using the configure.vars did not work on windows.
1 parent 6a296f4 commit c1e91f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
no_output_timeout: 30m
8585
command: |
8686
set -x
87-
R -e "remotes::install_git(c('.'), lib=c('${R_LIBS}'), configure.vars=c('MAKEJ=3'))"
87+
R -e "Sys.setenv(MAKEJ=3); remotes::install_git(c('.'), lib=c('${R_LIBS}'))"
8888
8989
workflows:
9090
r-build-test:

0 commit comments

Comments
 (0)