Skip to content

Commit 331cc49

Browse files
committed
Add a test to the package so covr does not fail
1 parent 57f7e1c commit 331cc49

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

NAMESPACE

Whitespace-only changes.

R/foo.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
add_one <- function(x) {
2+
x + 1
3+
}

tests/test.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
stopifnot(testpackage:::add_one(1) == 2)

0 commit comments

Comments
 (0)