Skip to content

Commit

Permalink
add testthat framework
Browse files Browse the repository at this point in the history
  • Loading branch information
mps9506 committed Jan 21, 2022
1 parent 5b4011b commit ed3fa79
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ URL: https://github.com/TxWRI/ldc
BugReports: https://github.com/TxWRI/ldc/issues
Suggests:
rmarkdown,
knitr
knitr,
testthat (>= 3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
4 changes: 4 additions & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
library(testthat)
library(ldc)

test_check("ldc")

0 comments on commit ed3fa79

Please sign in to comment.