Closed Yuri05 closed 3 months ago
I think we had this discussion already :) Actually for validation purposes, supplying the tests with the package would be a good idea. Is this doable?
This is possible with an installation option:
devtools::install_github("tidyverse/ggplot2", INSTALL_opts = "--install-tests")
testthat::test_package("ggplot2")
But I can also change the building workflow to include tests with:
devtools::build(..., args=c("--preclean", "--install-tests"))
This way, user can test package installed from binary
But I can also change the building workflow to include tests with:
devtools::build(..., args=c("--preclean", "--install-tests"))
Please do. Having testthat-tests included in (at least) the Linux version is mandatory on our side due to the internal package validation procedure.
Testthat tests are missing in the Linux package