Skip to content

Commit

Permalink
Merge pull request #172 from inbo/dev_nextrelease
Browse files Browse the repository at this point in the history
Release version 0.9.1
  • Loading branch information
florisvdh authored Nov 24, 2023
2 parents ca6f60e + 36ff305 commit 2f33a03
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "GPL-3.0",
"upload_type": "software",
"access_right": "open",
"version": "0.9.0",
"version": "0.9.1",
"creators": [
{
"name": "Vanderhaeghe, Floris",
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: n2khab
Title: Providing Preprocessed Reference Data for Flemish Natura 2000 Habitat Analyses
Version: 0.9.0
Version: 0.9.1
Authors@R: c(
person("Floris", "Vanderhaeghe", email = "floris.vanderhaeghe@inbo.be", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-6378-6229")),
person("Toon", "Westra", email = "toon.westra@inbo.be", role = c("aut"), comment = c(ORCID = "0000-0003-2478-9459")),
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# n2khab 0.9.1 (2023-11-24)

- Added workaround for a note during package installation ([d300e4a](https://github.com/inbo/n2khab/commit/d300e4a)).
- Package startup message: improve recommended code to update package ([793e303](https://github.com/inbo/n2khab/commit/793e303)).

# n2khab 0.9.0 (2023-11-22)

- `download_zenodo()` has been improved (#169):
Expand Down
2 changes: 1 addition & 1 deletion R/filemanagement.R
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ human_filesize <- function(x) {
assert_that(all(x %% 1 == 0 & x >= 0))
magnitude <-
log(x, base = 1024) %>%
floor() %>%
floor(x = .) %>%
pmin(8)
unit <- factor(magnitude,
levels = 0:8,
Expand Down
4 changes: 3 additions & 1 deletion R/n2khab.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ utils::globalVariables(c("."))
rep("=", getOption("width")),
"\nIt is advised to upgrade n2khab to its current version ",
release,
". Run:\n",
". Run:\n\n",
'detach("package:n2khab", unload = TRUE)\n',
'install.packages("n2khab", repos = c(inbo = "https://inbo.r-universe.dev",
CRAN = "https://cloud.r-project.org"))',
"\n",
"library(n2khab)\n",
rep("=", getOption("width"))
)
}
Expand Down

0 comments on commit 2f33a03

Please sign in to comment.