-
- Downloads
[SPARK-20877][SPARKR] refactor tests to basic tests only for CRAN
## What changes were proposed in this pull request? Move all existing tests to non-installed directory so that it will never run by installing SparkR package For a follow-up PR: - remove all skip_on_cran() calls in tests - clean up test timer - improve or change basic tests that do run on CRAN (if anyone has suggestion) It looks like `R CMD build pkg` will still put pkg\tests (ie. the full tests) into the source package but `R CMD INSTALL` on such source package does not install these tests (and so `R CMD check` does not run them) ## How was this patch tested? - [x] unit tests, Jenkins - [x] AppVeyor - [x] make a source package, install it, `R CMD check` it - verify the full tests are not installed or run Author: Felix Cheung <felixcheung_m@hotmail.com> Closes #18264 from felixcheung/rtestset.
Showing
- R/pkg/inst/tests/testthat/test_basic.R 90 additions, 0 deletionsR/pkg/inst/tests/testthat/test_basic.R
- R/pkg/tests/fulltests/jarTest.R 0 additions, 0 deletionsR/pkg/tests/fulltests/jarTest.R
- R/pkg/tests/fulltests/packageInAJarTest.R 0 additions, 0 deletionsR/pkg/tests/fulltests/packageInAJarTest.R
- R/pkg/tests/fulltests/test_Serde.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_Serde.R
- R/pkg/tests/fulltests/test_Windows.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_Windows.R
- R/pkg/tests/fulltests/test_binaryFile.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_binaryFile.R
- R/pkg/tests/fulltests/test_binary_function.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_binary_function.R
- R/pkg/tests/fulltests/test_broadcast.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_broadcast.R
- R/pkg/tests/fulltests/test_client.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_client.R
- R/pkg/tests/fulltests/test_context.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_context.R
- R/pkg/tests/fulltests/test_includePackage.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_includePackage.R
- R/pkg/tests/fulltests/test_jvm_api.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_jvm_api.R
- R/pkg/tests/fulltests/test_mllib_classification.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_mllib_classification.R
- R/pkg/tests/fulltests/test_mllib_clustering.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_mllib_clustering.R
- R/pkg/tests/fulltests/test_mllib_fpm.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_mllib_fpm.R
- R/pkg/tests/fulltests/test_mllib_recommendation.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_mllib_recommendation.R
- R/pkg/tests/fulltests/test_mllib_regression.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_mllib_regression.R
- R/pkg/tests/fulltests/test_mllib_stat.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_mllib_stat.R
- R/pkg/tests/fulltests/test_mllib_tree.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_mllib_tree.R
- R/pkg/tests/fulltests/test_parallelize_collect.R 0 additions, 0 deletionsR/pkg/tests/fulltests/test_parallelize_collect.R
R/pkg/inst/tests/testthat/test_basic.R
0 → 100644
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
Please register or sign in to comment