Skip to content

Commit 634496b

Browse files
committed
add running testthat to makefile
1 parent f6b1fcc commit 634496b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,6 @@ doc: $(MD_FILES)
144144

145145
$(MD_FILES): $(RMD_FILES)
146146
echo "library(knitr); library(h5); sapply(list.files(pattern = '*.Rmd'), knit);if(file.exists('test.h5')) file.remove('test.h5')" | R --slave --vanilla
147+
148+
testthat:
149+
$(Rscript) 'testthat::test_local(path = ".", reporter = NULL, load_package = "source")'

0 commit comments

Comments
 (0)