Skip to content

Commit 32c8f91

Browse files
authored
Merge pull request #63 from zivy/updateInstructions
Setting environment variables change.
2 parents 3b99581 + 938d6db commit 32c8f91

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
R --version
4747
- name: Install R packages
4848
run: |
49-
R -e "install.packages(c('git2r', 'devtools'), lib=c('${R_LIBS}'), repo='https://cloud.r-project.org/')"
49+
R -e "install.packages(c('git2r', 'remotes'), lib=c('${R_LIBS}'), repo='https://cloud.r-project.org/')"
5050
- name: Build and test
5151
run: |
5252
set -x
53-
R -e "devtools::install(c('.'), lib=c('${R_LIBS}'), args=c('--configure-vars="MAKEJ=2"'))"
53+
R -e "remotes::install_git(c('.'), lib=c('${R_LIBS}'), configure.vars=c('"MAKEJ=2"'))"
5454
env:
5555
ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS: 2

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
![Build Status](https://github.com/SimpleITK/SimpleITKRInstaller/actions/workflows/main.yml/badge.svg)
55

66

7-
A devtools based installer for SimpleITK R installer.
7+
A [remotes](https://github.com/r-lib/remotes) based installer for SimpleITK in [R](https://www.r-project.org/).
88

99
```R
10-
devtools::install_github("SimpleITK/SimpleITKRInstaller")
10+
remotes::install_github("SimpleITK/SimpleITKRInstaller")
1111
```
1212
or, turn on mutlicore compilation using
1313

1414
```R
15-
devtools::install_github("SimpleITK/SimpleITKRInstaller", args=c("--configure-vars=MAKEJ=6"))
15+
remotes::install_github("SimpleITK/SimpleITKRInstaller", configure.vars=c("MAKEJ=6"))
1616
```
1717

1818
Requires _cmake_ and _git_ in the path.

0 commit comments

Comments
 (0)