Skip to content

Commit

Permalink
Bump package version
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed Feb 22, 2024
1 parent fcb080b commit fe33873
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 28 deletions.
3 changes: 3 additions & 0 deletions CITATION.cff
Expand Up @@ -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
2 changes: 1 addition & 1 deletion 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")),
Expand Down
2 changes: 2 additions & 0 deletions 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.
Expand Down
48 changes: 24 additions & 24 deletions README.md
Expand Up @@ -46,7 +46,7 @@ messages.
Frerebeau N (2024). _arkhe: Tools for Cleaning Rectangular Data_.
Université Bordeaux Montaigne, Pessac, France.
doi:10.5281/zenodo.3526659 <https://doi.org/10.5281/zenodo.3526659>,
R package version 1.5.0, <https://packages.tesselle.org/arkhe/>.
R package version 1.6.0, <https://packages.tesselle.org/arkhe/>.

A BibTeX entry for LaTeX users is

Expand All @@ -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},
}
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions codemeta.json
Expand Up @@ -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",
Expand Down Expand Up @@ -101,7 +101,7 @@
},
"SystemRequirements": null
},
"fileSize": "312.266KB",
"fileSize": "312.291KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand All @@ -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"
}
Expand Down

0 comments on commit fe33873

Please sign in to comment.