phuse-org / valtools

Validation framework for R packages used in clinical research and drug development.
https://phuse-org.github.io/valtools/
Other
51 stars 10 forks source link

reduce the test timings #56

Open mariev opened 3 years ago

mariev commented 3 years ago

validate_sequence tests currently run ~60s which need to be shortened. Are there any tests that can be skipped, esp. when migrating to CRAN

thebioengineer commented 3 years ago

The longest sequence is the validate_sequence series of tests. Functionally, I think we can skip the first two (source and build) because they do get run by the install.

mariev commented 3 years ago

I am starting to identify an exemplar integration test that should be preserved for CRAN as I write new tests. Is adopting a strategy of skipping diagnostic units on CRAN reasonable?

mariev commented 3 years ago

any tests checking pdf contents, including the rendering step rmarkdown::render can be suppressed on CRAN