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.