From b60826a5acaf175d8d1206e1d8fd057975af9b74 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 30 Mar 2020 22:58:19 -0500 Subject: [PATCH] fix R CMD check for Azure --- .ci/test_r_package_windows.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/test_r_package_windows.ps1 b/.ci/test_r_package_windows.ps1 index 3021a1ecadcd..5ac5a49cb6f0 100644 --- a/.ci/test_r_package_windows.ps1 +++ b/.ci/test_r_package_windows.ps1 @@ -76,10 +76,10 @@ Write-Output "Running R CMD check" $env:_R_CHECK_FORCE_SUGGESTS_=0 if ($env:AZURE -eq "true") { Write-Output "Running R CMD check without checking documentation" - R.exe CMD check --no-multiarch --no-manual --ignore-vignettes ; Check-Output $? + R.exe CMD check --no-multiarch --no-manual --ignore-vignettes ${PKG_FILE_NAME} ; Check-Output $? } else { Write-Output "Running R CMD check as CRAN" - R.exe CMD check --no-multiarch --as-cran ${PKG_FILE_NAME} ; Check-Output $? + R.exe CMD check --no-multiarch --as-cran ${PKG_FILE_NAME} ; Check-Output $? } Write-Output "Looking for issues with R CMD check results"