How to run a single testthat test....
If you wish to run just one, or possible a small number of testthat tests you can use the filter argument of the devtools::test method
For example,
devtools::test(filter="smk-ds.dataFrame")
would run only the tests in test-smk-ds.dataFrame.R, whereas
devtools::test(filter="smk-ds.data")
would run the tests in any file with a matching "smk-ds.data", at the moment test-smk-ds.dataFrame.R, test-smk-ds.dataFrameSort.R and test-smk-ds.dataFrameSubset.R.
devtools::test(filter="smk-ds.table$")
would run the tests in any file with a matching "smk-ds.table$", at the moment test-smk-ds.table.R, but not test-smk-ds.table1D.R and test-smk-ds.table2D.R.
DataSHIELD Wiki by DataSHIELD is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Based on a work at http://www.datashield.ac.uk/wiki