Skip to content

Commit

Permalink
this feels right
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Mar 22, 2020
1 parent 1d45554 commit fa6d229
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/test_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,10 @@ if ($env:TASK -eq "r-package"){
Add-Content .Rprofile "options(install.packages.check.source = 'no')"

Write-Output "Installing dependencies"
Rscript.exe -e "install.packages(c('data.table', 'jsonlite', 'Matrix', 'R6', 'testthat'), dependencies = c('Imports', 'Depends', 'LinkingTo'))" ; Check-Output $?
Rscript.exe -e "install.packages(c('data.table', 'jsonlite', 'Matrix', 'R6', 'testthat'), dependencies = c('Imports', 'Depends', 'LinkingTo'), lib = .libPaths())" ; Check-Output $?

Write-Output "Building R package"
#Rscript.exe -e "install.packages('R6', pkgType = 'source')"
Rscript --no-save -e "print(.libPaths())"
Rscript --no-save -e "print('loading R6'); library(R6)"
Rscript --no-save -e "print('R_LIBS'); print(Sys.getenv('R_LIBS'))"
Expand Down

0 comments on commit fa6d229

Please sign in to comment.