Skip to content

Commit

Permalink
chore: add missing testhat dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibb committed Jun 9, 2024
1 parent 585bdf5 commit e2706ff
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
5 changes: 4 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
1 change: 1 addition & 0 deletions manifest.scm
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(specifications->manifest
'("r-minimal"
"r-covr"
"r-data-table"
"r-devtools"
"r-lubridate"
Expand Down
12 changes: 12 additions & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit e2706ff

Please sign in to comment.