Skip to content

Commit f1466de

Browse files
authored
Merge pull request #177 from pascal-sauer/master
export suppressSpecificWarnings, build
2 parents 1dc9c10 + b3e713b commit f1466de

File tree

8 files changed

+36
-28
lines changed

8 files changed

+36
-28
lines changed

.buildlibrary

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ValidationKey: '122820020'
1+
ValidationKey: '123025056'
22
AcceptedWarnings:
33
- 'Warning: package ''.*'' was built under R version'
44
- 'Warning: namespace ''.*'' is not available and has been replaced'

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: 'magclass: Data Class and Tools for Handling Spatial-Temporal Data'
5-
version: 6.17.0
6-
date-released: '2024-07-02'
5+
version: 6.17.1
6+
date-released: '2024-08-01'
77
abstract: Data class for increased interoperability working with spatial-temporal
88
data together with corresponding functions and methods (conversions, basic calculations
99
and basic data manipulation). The class distinguishes between spatial, temporal

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: magclass
33
Title: Data Class and Tools for Handling Spatial-Temporal Data
4-
Version: 6.17.0
5-
Date: 2024-07-02
4+
Version: 6.17.1
5+
Date: 2024-08-01
66
Authors@R: c(
77
person("Jan Philipp", "Dietrich", , "dietrich@pik-potsdam.de",
88
comment = c(affiliation = "Potsdam Institute for Climate Impact Research", ORCID = "0000-0002-4309-6431"), role = c("aut", "cre")),

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export(setComment)
7777
export(setItems)
7878
export(setYears)
7979
export(spatRasterToDataset)
80+
export(suppressSpecificWarnings)
8081
export(time_interpolate)
8182
export(unitsplit)
8283
export(unwrap)

R/suppressSpecificWarnings.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#'
1212
#' @author Pascal Sauer
1313
#' @seealso \code{\link{suppressWarnings}}
14+
#' @export
1415
suppressSpecificWarnings <- function(expr, regularExpr, fixed = FALSE) {
1516
withCallingHandlers(expr, warning = function(m) {
1617
if (grepl(regularExpr, m[["message"]], fixed = fixed)) {

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Data Class and Tools for Handling Spatial-Temporal Data
22

3-
R package **magclass**, version **6.17.0**
3+
R package **magclass**, version **6.17.1**
44

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

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

5757
To cite package **magclass** in publications use:
5858

59-
Dietrich J, Bodirsky B, Bonsch M, Humpenoeder F, Bi S, Karstens K, Leip D, Sauer P (2024). _magclass: Data Class and Tools for Handling Spatial-Temporal Data_. doi:10.5281/zenodo.1158580 <https://doi.org/10.5281/zenodo.1158580>, R package version 6.17.0, <https://github.com/pik-piam/magclass>.
59+
Dietrich J, Bodirsky B, Bonsch M, Humpenoeder F, Bi S, Karstens K, Leip D, Sauer P (2024). _magclass: Data Class and Tools for Handling Spatial-Temporal Data_. doi:10.5281/zenodo.1158580 <https://doi.org/10.5281/zenodo.1158580>, R package version 6.17.1, <https://github.com/pik-piam/magclass>.
6060

6161
A BibTeX entry for LaTeX users is
6262

@@ -65,7 +65,7 @@ A BibTeX entry for LaTeX users is
6565
title = {magclass: Data Class and Tools for Handling Spatial-Temporal Data},
6666
author = {Jan Philipp Dietrich and Benjamin Leon Bodirsky and Markus Bonsch and Florian Humpenoeder and Stephen Bi and Kristine Karstens and Debbora Leip and Pascal Sauer},
6767
year = {2024},
68-
note = {R package version 6.17.0},
68+
note = {R package version 6.17.1},
6969
url = {https://github.com/pik-piam/magclass},
7070
doi = {10.5281/zenodo.1158580},
7171
}

man/convergence.Rd

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/matchDim.Rd

Lines changed: 16 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)