HyukjinKwon commented on a change in pull request #27359:
[SPARK-23435][SPARKR][TESTS] Update testthat to >= 2.0.0
URL: https://github.com/apache/spark/pull/27359#discussion_r370975639
##########
File path: appveyor.yml
##########
@@ -43,11 +43,8 @@ install:
- ps: .\dev\appveyor-install-dependencies.ps1
# Required package for R unit tests
- cmd: R -e "install.packages(c('knitr', 'rmarkdown', 'e1071', 'survival',
'arrow'), repos='https://cloud.r-project.org/')"
- # Here, we use the fixed version of testthat. For more details, please see
SPARK-22817.
- # As of devtools 2.1.0, it requires testthat higher then 2.1.1 as a
dependency. SparkR test requires testthat 1.0.2.
- # Therefore, we don't use devtools but installs it directly from the archive
including its dependencies.
- cmd: R -e "install.packages(c('crayon', 'praise', 'R6'),
repos='https://cloud.r-project.org/')"
- - cmd: R -e
"install.packages('https://cloud.r-project.org/src/contrib/Archive/testthat/testthat_1.0.2.tar.gz',
repos=NULL, type='source')"
+ - cmd: R -e "install.packages('testthat',
repos='https://cloud.r-project.org/')"
Review comment:
+1 for @dongjoon-hyun's advice.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]