diff --git a/DESCRIPTION b/DESCRIPTION index 3ea8844..cad593b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: dltr Title: Draeger logbook and trend reader -Version: 0.0.1 +Version: 0.0.1.9000 Authors@R: person( given = "Sebastian", family = "Gibb", @@ -16,3 +16,6 @@ License: GPL (>= 3) Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.1 +Suggests: + testthat (>= 3.0.0) +Config/testthat/edition: 3 diff --git a/NEWS.md b/NEWS.md index 5acc094..083d43d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # dltr 0.0 +## Changes in development version + + + ## Changes in 0.0.1 - Initial version with basic logbook support (support for trends missing). diff --git a/manifest.scm b/manifest.scm index d985bd3..b1dbe0e 100644 --- a/manifest.scm +++ b/manifest.scm @@ -1,5 +1,6 @@ (specifications->manifest '("r-minimal" + "r-covr" "r-data-table" "r-devtools" "r-lubridate" diff --git a/tests/testthat.R b/tests/testthat.R new file mode 100644 index 0000000..ab3967b --- /dev/null +++ b/tests/testthat.R @@ -0,0 +1,12 @@ +# This file is part of the standard setup for testthat. +# It is recommended that you do not modify it. +# +# Where should you do additional test configuration? +# Learn more about the roles of various files in: +# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview +# * https://testthat.r-lib.org/articles/special-files.html + +library(testthat) +library(dltr) + +test_check("dltr")