diff --git a/.github/prehooks/pre-commit b/.github/prehooks/pre-commit index c33b445f..98a60710 100755 --- a/.github/prehooks/pre-commit +++ b/.github/prehooks/pre-commit @@ -5,7 +5,7 @@ echo "Running pre-commit hook..." # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo ">> Updating R documentation..." if command -v Rscript > /dev/null; then - if [ "$(Rscript -e 'cat(all(c('"'roxygen2'"', '"'pkgload'"') %in% rownames(installed.packages())))')" -eq "TRUE" ]; then + if [[ "$(Rscript -e 'cat(all(c('"'roxygen2'"', '"'pkgload'"') %in% rownames(installed.packages())))')" == "TRUE" ]]; then Rscript -e "suppressMessages(roxygen2::roxygenise())" currentpkg=`Rscript -e "cat(pkgload::pkg_name())"` git add man/* diff --git a/DESCRIPTION b/DESCRIPTION index afb87ee2..269f2037 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 1.8.1.9024 +Version: 1.8.1.9025 Date: 2022-08-25 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) diff --git a/NEWS.md b/NEWS.md index 01e0bffe..70d2ba46 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# your 1.8.1.9024 +# your 1.8.1.9025 ### New * EUCAST 2022 and CLSI 2022 guidelines have been added for `as.rsi()`. EUCAST 2022 is now the new default guideline for all MIC and disks diffusion interpretations.