Skip to content

Commit a740453

Browse files
authored
Merge pull request #230 from pascal-sauer/master
partial matching warnings for testing
2 parents 4674f4e + 050c145 commit a740453

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

.buildlibrary

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ValidationKey: '10345671'
1+
ValidationKey: '10373034'
22
AutocreateReadme: yes
33
AutocreateCITATION: yes
44
AcceptedWarnings:

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ cff-version: 1.2.0
22
message: If you use this software, please cite it using the metadata from this file.
33
type: software
44
title: 'lucode2: Code Manipulation and Analysis Tools'
5-
version: 0.51.3
6-
date-released: '2025-03-20'
5+
version: 0.51.4
6+
date-released: '2025-04-03'
77
abstract: A collection of tools which allow to manipulate and analyze code.
88
authors:
99
- family-names: Dietrich

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: lucode2
33
Title: Code Manipulation and Analysis Tools
4-
Version: 0.51.3
5-
Date: 2025-03-20
4+
Version: 0.51.4
5+
Date: 2025-04-03
66
Authors@R: c(
77
person("Jan Philipp", "Dietrich", , "[email protected]", role = c("aut", "cre"),
88
comment = c(affiliation = "Potsdam Institute for Climate Impact Research", ORCID = "0000-0002-4309-6431")),

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

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code Manipulation and Analysis Tools
22

3-
R package **lucode2**, version **0.51.3**
3+
R package **lucode2**, version **0.51.4**
44

55
[![CRAN status](https://www.r-pkg.org/badges/version/lucode2)](https://cran.r-project.org/package=lucode2) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4389418.svg)](https://doi.org/10.5281/zenodo.4389418) [![R build status](https://github.com/pik-piam/lucode2/workflows/check/badge.svg)](https://github.com/pik-piam/lucode2/actions) [![codecov](https://codecov.io/gh/pik-piam/lucode2/branch/master/graph/badge.svg)](https://app.codecov.io/gh/pik-piam/lucode2) [![r-universe](https://pik-piam.r-universe.dev/badges/lucode2)](https://pik-piam.r-universe.dev/builds)
66

@@ -39,7 +39,7 @@ In case of questions / problems please contact Jan Philipp Dietrich <dietrich@pi
3939

4040
To cite package **lucode2** in publications use:
4141

42-
Dietrich J, Sauer P, Klein D, Giannousakis A, Bonsch M, Bodirsky B, Baumstark L, Richters O, Pflüger M (2025). "lucode2: Code Manipulation and Analysis Tools." doi:10.5281/zenodo.4389418 <https://doi.org/10.5281/zenodo.4389418>, Version: 0.51.3, <https://github.com/pik-piam/lucode2>.
42+
Dietrich J, Sauer P, Klein D, Giannousakis A, Bonsch M, Bodirsky B, Baumstark L, Richters O, Pflüger M (2025). "lucode2: Code Manipulation and Analysis Tools." doi:10.5281/zenodo.4389418 <https://doi.org/10.5281/zenodo.4389418>, Version: 0.51.4, <https://github.com/pik-piam/lucode2>.
4343

4444
A BibTeX entry for LaTeX users is
4545

@@ -48,9 +48,9 @@ A BibTeX entry for LaTeX users is
4848
title = {lucode2: Code Manipulation and Analysis Tools},
4949
author = {Jan Philipp Dietrich and Pascal Sauer and David Klein and Anastasis Giannousakis and Markus Bonsch and Benjamin Leon Bodirsky and Lavinia Baumstark and Oliver Richters and Mika Pflüger},
5050
doi = {10.5281/zenodo.4389418},
51-
date = {2025-03-20},
51+
date = {2025-04-03},
5252
year = {2025},
5353
url = {https://github.com/pik-piam/lucode2},
54-
note = {Version: 0.51.3},
54+
note = {Version: 0.51.4},
5555
}
5656
```

0 commit comments

Comments
 (0)