From fe33873681e6acc6af712f9c87d7da35eea53a10 Mon Sep 17 00:00:00 2001 From: nfrerebeau Date: Thu, 22 Feb 2024 18:03:54 +0100 Subject: [PATCH] Bump package version --- CITATION.cff | 3 +++ DESCRIPTION | 2 +- NEWS.md | 2 ++ README.md | 48 ++++++++++++++++++++++++------------------------ codemeta.json | 6 +++--- 5 files changed, 33 insertions(+), 28 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index bd603c4..59cd98d 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -165,3 +165,6 @@ identifiers: - description: The versioned DOI for version 1.5.0. type: doi value: 10.5281/zenodo.10534310 +- description: The versioned DOI for version 1.6.0. + type: doi + value: 10.5281/zenodo.10694357 diff --git a/DESCRIPTION b/DESCRIPTION index a37aa83..66e8594 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: arkhe Title: Tools for Cleaning Rectangular Data -Version: 1.6.0 +Version: 1.6.0.9000 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")), diff --git a/NEWS.md b/NEWS.md index 82e4a6b..f54a77a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,5 @@ +# arkhe 1.6.0.9000 + # arkhe 1.6.0 ## New classes and methods * Add `describe()` to quickly describe a `matrix`-like object. diff --git a/README.md b/README.md index bdd5404..7911a61 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ messages. Frerebeau N (2024). _arkhe: Tools for Cleaning Rectangular Data_. Université Bordeaux Montaigne, Pessac, France. doi:10.5281/zenodo.3526659 , - R package version 1.5.0, . + R package version 1.6.0, . A BibTeX entry for LaTeX users is @@ -56,7 +56,7 @@ messages. year = {2024}, organization = {Université Bordeaux Montaigne}, address = {Pessac, France}, - note = {R package version 1.5.0}, + note = {R package version 1.6.0}, url = {https://packages.tesselle.org/arkhe/}, doi = {10.5281/zenodo.3526659}, } @@ -94,49 +94,49 @@ k <- sample(1:25, 3, FALSE) X[k] <- NA X #> [,1] [,2] [,3] [,4] [,5] -#> [1,] 3 1 4 9 6 -#> [2,] 8 NA 7 8 6 -#> [3,] 5 9 4 4 8 -#> [4,] 7 NA NA 3 4 -#> [5,] 8 2 5 3 4 +#> [1,] 6 7 1 NA NA +#> [2,] 6 3 1 7 1 +#> [3,] 9 5 6 4 10 +#> [4,] 10 9 6 NA 5 +#> [5,] 6 10 10 7 9 ## Count missing values in rows count(X, f = is.na, margin = 1) -#> [1] 0 1 0 2 0 +#> [1] 2 0 0 1 0 ## Count non-missing values in columns count(X, f = is.na, margin = 2, negate = TRUE) -#> [1] 5 3 4 5 5 +#> [1] 5 5 5 3 4 ## Find row with NA detect(X, f = is.na, margin = 1) -#> [1] FALSE TRUE FALSE TRUE FALSE +#> [1] TRUE FALSE FALSE TRUE FALSE ## Find column without any NA detect(X, f = is.na, margin = 2, negate = TRUE, all = TRUE) -#> [1] TRUE FALSE FALSE TRUE TRUE +#> [1] TRUE TRUE TRUE FALSE FALSE ## Remove row with any NA discard(X, f = is.na, margin = 1, all = FALSE) #> [,1] [,2] [,3] [,4] [,5] -#> [1,] 3 1 4 9 6 -#> [2,] 5 9 4 4 8 -#> [3,] 8 2 5 3 4 +#> [1,] 6 3 1 7 1 +#> [2,] 9 5 6 4 10 +#> [3,] 6 10 10 7 9 ## Remove column with any NA discard(X, f = is.na, margin = 2, all = FALSE) #> [,1] [,2] [,3] -#> [1,] 3 9 6 -#> [2,] 8 8 6 -#> [3,] 5 4 8 -#> [4,] 7 3 4 -#> [5,] 8 3 4 +#> [1,] 6 7 1 +#> [2,] 6 3 1 +#> [3,] 9 5 6 +#> [4,] 10 9 6 +#> [5,] 6 10 10 ## Replace NA with zeros replace_NA(X, value = 0) #> [,1] [,2] [,3] [,4] [,5] -#> [1,] 3 1 4 9 6 -#> [2,] 8 0 7 8 6 -#> [3,] 5 9 4 4 8 -#> [4,] 7 0 0 3 4 -#> [5,] 8 2 5 3 4 +#> [1,] 6 7 1 0 0 +#> [2,] 6 3 1 7 1 +#> [3,] 9 5 6 4 10 +#> [4,] 10 9 6 0 5 +#> [5,] 6 10 10 7 9 ``` ## Contributing diff --git a/codemeta.json b/codemeta.json index e03c99e..7b047ea 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,7 +8,7 @@ "codeRepository": "https://github.com/tesselle/arkhe", "issueTracker": "https://github.com/tesselle/arkhe/issues", "license": "https://spdx.org/licenses/GPL-3.0", - "version": "1.6.0", + "version": "1.6.0.9000", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", @@ -101,7 +101,7 @@ }, "SystemRequirements": null }, - "fileSize": "312.266KB", + "fileSize": "312.291KB", "citation": [ { "@type": "SoftwareSourceCode", @@ -116,7 +116,7 @@ "name": "{arkhe: Tools for Cleaning Rectangular Data}", "identifier": "10.5281/zenodo.3526659", "url": "https://packages.tesselle.org/arkhe/", - "description": "R package version 1.6.0", + "description": "R package version 1.6.0.9000", "@id": "https://doi.org/10.5281/zenodo.3526659", "sameAs": "https://doi.org/10.5281/zenodo.3526659" }