Skip to content

Commit 2c8c88b

Browse files
committed
run tests with partial matching warnings
1 parent 4674f4e commit 2c8c88b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: lucode2
33
Title: Code Manipulation and Analysis Tools
4-
Version: 0.51.3
4+
Version: 0.51.3.9001
55
Date: 2025-03-20
66
Authors@R: c(
77
person("Jan Philipp", "Dietrich", , "[email protected]", role = c("aut", "cre"),

R/check.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ check <- function(lib = ".", cran = TRUE, config = loadBuildLibraryConfig(lib),
109109
#' @author Pascal Sauer
110110
#' @export
111111
verifyTests <- function(acceptedWarnings) {
112+
withr::local_options(warnPartialMatchAttr = TRUE,
113+
warnPartialMatchDollar = TRUE,
114+
warnPartialMatchArgs = TRUE)
112115
testResults <- devtools::test(stop_on_failure = TRUE, reporter = "summary") %>%
113116
Reduce(f = function(a, b) append(a, b[["results"]]), init = list()) # combine results from all tests
114117

0 commit comments

Comments
 (0)