Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 129f46a

Browse files
committed
clear notes
1 parent d614167 commit 129f46a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ vignettes/*.pdf
4444
docs/
4545
.vscode
4646
*/.DS_Store
47+
CRAN-RELEASE

R/tools.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
expect_equal_ps <- function(obj, expected) {
66
pobj <- get_private(obj)
77
pexp <- get_private(expected)
8-
expect_equal(sort(names(pobj)), sort(names(pexp)))
8+
testthat::expect_equal(sort(names(pobj)), sort(names(pexp)))
99
lapply(names(pexp), function(x) {
1010
if (is.list(pexp[[x]]) && length(names(pexp[[x]])) > 0) {
11-
expect_equal(deparse(sort_named_list(pobj[[x]])),
11+
testthat::expect_equal(deparse(sort_named_list(pobj[[x]])),
1212
deparse(sort_named_list(pexp[[x]])), info = x)
1313
} else {
14-
expect_equal(deparse(pobj[[x]]), deparse(pexp[[x]]), info = x)
14+
testthat::expect_equal(deparse(pobj[[x]]), deparse(pexp[[x]]), info = x)
1515
}
1616
})
17-
}
17+
}

0 commit comments

Comments
 (0)