From fa6d229c15f47ceec1ec433fd3e36359f455f484 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sun, 22 Mar 2020 10:28:06 -0500 Subject: [PATCH] this feels right --- .ci/test_windows.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/test_windows.ps1 b/.ci/test_windows.ps1 index 1840ba4601b6..f65e1edeb3ec 100644 --- a/.ci/test_windows.ps1 +++ b/.ci/test_windows.ps1 @@ -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'))"