From 2b8cbc21f9fed896f35d8c3f0e3bc04c4e9f5191 Mon Sep 17 00:00:00 2001 From: nfrerebeau Date: Fri, 27 Oct 2023 18:08:21 +0200 Subject: [PATCH] Prepare for next release --- CITATION.cff | 16 +++++++++++++--- DESCRIPTION | 5 ++++- NEWS.md | 8 +++++++- R/arkhe-package.R | 2 +- README.Rmd | 1 + codemeta.json | 30 +++++++++++------------------- cran-comments.md | 6 +++--- man/arkhe-package.Rd | 2 +- revdep/README.md | 6 +++--- revdep/cran.md | 2 +- 10 files changed, 45 insertions(+), 33 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 451cf7e..1a41b34 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -8,7 +8,7 @@ message: 'To cite package "arkhe" in publications use:' type: software license: GPL-3.0-or-later title: 'arkhe: Tools for Cleaning Rectangular Data' -version: 1.3.0 +version: 1.4.0 doi: 10.5281/zenodo.3526659 abstract: A dependency-free collection of simple functions for cleaning rectangular data. This package allows to detect, count and replace values or discard rows/columns @@ -32,12 +32,11 @@ preferred-citation: year: '2023' location: name: Pessac, France - notes: R package version 1.3.0 + notes: R package version 1.4.0 url: https://packages.tesselle.org/arkhe/ doi: 10.5281/zenodo.3526659 institution: name: Université Bordeaux Montaigne -repository: https://CRAN.R-project.org/package=arkhe repository-code: https://github.com/tesselle/arkhe url: https://packages.tesselle.org/arkhe/ contact: @@ -63,6 +62,17 @@ references: institution: name: R Foundation for Statistical Computing version: '>= 3.5' +- type: software + title: graphics + abstract: 'R: A Language and Environment for Statistical Computing' + notes: Imports + authors: + - name: R Core Team + location: + name: Vienna, Austria + year: '2023' + institution: + name: R Foundation for Statistical Computing - type: software title: methods abstract: 'R: A Language and Environment for Statistical Computing' diff --git a/DESCRIPTION b/DESCRIPTION index 6858ed9..0abf020 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: arkhe Title: Tools for Cleaning Rectangular Data -Version: 1.3.0.9000 +Version: 1.4.0 Authors@R: c( person("Nicolas", "Frerebeau", , "nicolas.frerebeau@u-bordeaux-montaigne.fr", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-5759-4944", affiliation = "Université Bordeaux Montaigne")), @@ -20,6 +20,7 @@ BugReports: https://github.com/tesselle/arkhe/issues Depends: R (>= 3.5) Imports: + graphics, methods, stats, utils @@ -44,8 +45,10 @@ Collate: 'discard.R' 'keep.R' 'mathematics.R' + 'plot.R' 'remove.R' 'replace.R' + 'scale.R' 'statistics.R' 'utilities.R' 'zzz.R' diff --git a/NEWS.md b/NEWS.md index 15aad33..2a1fb6e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,11 @@ -# arkhe 1.3.0.9000 +# arkhe 1.4.0 +## New classes and methods +* Add `%||%` to replace `NULL` with a default value. +* Add `%+%` to concatenate character vectors. +* Add `scale_range` to rescale a continuous vector to have specified minimum and maximum. + ## Bugfixes & changes +* Remove deprecated methods. * Remove `na.rm` argument of numeric predicates (so that the length of the output equals the length of the input). # arkhe 1.3.0 diff --git a/R/arkhe-package.R b/R/arkhe-package.R index 62aa492..3a0785e 100644 --- a/R/arkhe-package.R +++ b/R/arkhe-package.R @@ -2,7 +2,7 @@ #' \tabular{ll}{ #' **Package:** \tab arkhe \cr #' **Type:** \tab Package \cr -#' **Version:** \tab 1.3.0 \cr +#' **Version:** \tab 1.4.0 \cr #' **License:** \tab GPL-3 \cr #' **Zenodo:** \tab \doi{10.5281/zenodo.3526659} \cr #' } diff --git a/README.Rmd b/README.Rmd index 8c77afe..c45e66d 100644 --- a/README.Rmd +++ b/README.Rmd @@ -11,6 +11,7 @@ knitr::opts_chunk$set( fig.path = "man/figures/README-", out.width = NULL ) +Sys.setlocale("LC_MESSAGES", 'en_GB.UTF-8') # Force locale ``` # arkhe diff --git a/codemeta.json b/codemeta.json index aafe558..ffbfdf7 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,19 +8,13 @@ "codeRepository": "https://github.com/tesselle/arkhe", "issueTracker": "https://github.com/tesselle/arkhe/issues", "license": "https://spdx.org/licenses/GPL-3.0", - "version": "1.3.0.9000", + "version": "1.4.0", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", "url": "https://r-project.org" }, "runtimePlatform": "R version 4.3.1 (2023-06-16)", - "provider": { - "@id": "https://cran.r-project.org", - "@type": "Organization", - "name": "Comprehensive R Archive Network (CRAN)", - "url": "https://cran.r-project.org" - }, "author": [ { "@type": "Person", @@ -52,14 +46,7 @@ { "@type": "SoftwareApplication", "identifier": "tinytest", - "name": "tinytest", - "provider": { - "@id": "https://cran.r-project.org", - "@type": "Organization", - "name": "Comprehensive R Archive Network (CRAN)", - "url": "https://cran.r-project.org" - }, - "sameAs": "https://CRAN.R-project.org/package=tinytest" + "name": "tinytest" } ], "softwareRequirements": { @@ -70,23 +57,28 @@ "version": ">= 3.5" }, "2": { + "@type": "SoftwareApplication", + "identifier": "graphics", + "name": "graphics" + }, + "3": { "@type": "SoftwareApplication", "identifier": "methods", "name": "methods" }, - "3": { + "4": { "@type": "SoftwareApplication", "identifier": "stats", "name": "stats" }, - "4": { + "5": { "@type": "SoftwareApplication", "identifier": "utils", "name": "utils" }, "SystemRequirements": null }, - "fileSize": "256.781KB", + "fileSize": "275.718KB", "citation": [ { "@type": "SoftwareSourceCode", @@ -101,7 +93,7 @@ "name": "{arkhe: Tools for Cleaning Rectangular Data}", "identifier": "10.5281/zenodo.3526659", "url": "https://packages.tesselle.org/arkhe/", - "description": "R package version 1.3.0.9000", + "description": "R package version 1.4.0", "@id": "https://doi.org/10.5281/zenodo.3526659", "sameAs": "https://doi.org/10.5281/zenodo.3526659" } diff --git a/cran-comments.md b/cran-comments.md index 8e62b08..8befed9 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -10,7 +10,7 @@ ## revdepcheck results -We checked 4 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. +We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. -* We saw 0 new problems -* We failed to check 0 packages + * We saw 0 new problems + * We failed to check 0 packages diff --git a/man/arkhe-package.Rd b/man/arkhe-package.Rd index 6322d7f..16c6677 100644 --- a/man/arkhe-package.Rd +++ b/man/arkhe-package.Rd @@ -15,7 +15,7 @@ A dependency-free collection of simple functions for cleaning rectangular data. \tabular{ll}{ \strong{Package:} \tab arkhe \cr \strong{Type:} \tab Package \cr -\strong{Version:} \tab 1.3.0 \cr +\strong{Version:} \tab 1.4.0 \cr \strong{License:} \tab GPL-3 \cr \strong{Zenodo:} \tab \doi{10.5281/zenodo.3526659} \cr } diff --git a/revdep/README.md b/revdep/README.md index 904e39f..9876037 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -10,15 +10,15 @@ |collate |fr_FR.UTF-8 | |ctype |fr_FR.UTF-8 | |tz |Europe/Paris | -|date |2023-08-31 | -|rstudio |2023.06.1+524 Mountain Hydrangea (desktop) | +|date |2023-10-27 | +|rstudio |2023.09.0+463 Desert Sunflower (desktop) | |pandoc |3.1.1 @ /usr/lib/rstudio/resources/app/bin/quarto/bin/tools/ (via rmarkdown) | # Dependencies |package |old |new |Δ | |:-------|:-----|:-----|:--| -|arkhe |1.2.0 |1.3.0 |* | +|arkhe |1.3.0 |1.4.0 |* | # Revdeps diff --git a/revdep/cran.md b/revdep/cran.md index ab1853c..29c1961 100644 --- a/revdep/cran.md +++ b/revdep/cran.md @@ -1,6 +1,6 @@ ## revdepcheck results -We checked 4 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. +We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package. * We saw 0 new problems * We failed to check 0 packages