diff --git a/DESCRIPTION b/DESCRIPTION
index 83c33c5e..01964ae1 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,5 +1,5 @@
Package: AMR
-Version: 0.7.0.9013
+Version: 0.7.0.9014
Date: 2019-06-22
Title: Antimicrobial Resistance Analysis
Authors@R: c(
diff --git a/NEWS.md b/NEWS.md
index fbc28680..3f738549 100755
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,4 +1,4 @@
-# AMR 0.7.0.9013
+# AMR 0.7.0.9014
#### New
* Function `rsi_df()` to transform a `data.frame` to a data set containing only the microbial interpretation (S, I, R), the antibiotic, the percentage of S/I/R and the number of available isolates. This is a convenient combination of the existing functions `count_df()` and `portion_df()` to immediately show resistance percentages and number of available isolates:
diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html
index dc6eb7cc..8f815081 100644
--- a/docs/LICENSE-text.html
+++ b/docs/LICENSE-text.html
@@ -78,7 +78,7 @@
AMR (for R)
- 0.7.0.9013
+ 0.7.0.9014
diff --git a/docs/articles/index.html b/docs/articles/index.html
index c14d7908..99849c6e 100644
--- a/docs/articles/index.html
+++ b/docs/articles/index.html
@@ -78,7 +78,7 @@
AMR (for R)
- 0.7.0.9013
+ 0.7.0.9014
@@ -241,10 +241,8 @@
How to determine multi-drug resistance (MDR)
How to import data from SPSS / SAS / Stata
How to work with WHONET data
- How to get properties of an antibiotic
Benchmarks
How to create frequency tables
- How to get properties of a microorganism
How to predict antimicrobial resistance
diff --git a/docs/authors.html b/docs/authors.html
index 28de45f2..221f8de2 100644
--- a/docs/authors.html
+++ b/docs/authors.html
@@ -78,7 +78,7 @@
AMR (for R)
- 0.7.0.9013
+ 0.7.0.9014
diff --git a/docs/index.html b/docs/index.html
index e2688f80..cffe364a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -42,7 +42,7 @@
AMR (for R)
- 0.7.0.9013
+ 0.7.0.9014
diff --git a/docs/news/index.html b/docs/news/index.html
index 611dbd1e..40290eaa 100644
--- a/docs/news/index.html
+++ b/docs/news/index.html
@@ -78,7 +78,7 @@
AMR (for R)
- 0.7.0.9012
+ 0.7.0.9014
@@ -232,9 +232,9 @@
-
+
-Support for all scientifically published pathotypes of E. coli to date. Supported are:
+Support for all scientifically published pathotypes of E. coli to date (that we could find). Supported are:
- AIEC (Adherent-Invasive E. coli)
- ATEC (Atypical Entero-pathogenic E. coli)
@@ -297,10 +297,12 @@
- Removed
latest_annual_release
from the catalogue_of_life_version()
function
- Removed antibiotic code
PVM1
from the antibiotics
data set as this was a duplicate of PME
-- Fixed bug where not all old taxonomic named would not be printed when using a vector as input for
as.mo()
+ - Fixed bug where not all old taxonomic names would be printed, when using a vector as input for
as.mo()
- Manually added Trichomonas vaginalis from the kingdom of Protozoa, which is missing from the Catalogue of Life
- Small improvements to
plot()
and barplot()
for MIC and RSI classes
+- Allow Catalogue of Life IDs to be coerced by
as.mo()
+
@@ -1139,7 +1141,7 @@ Using
as.mo(..., allow_uncertain = 3)
Contents
- - 0.7.0.9012
+ - 0.7.0.9014
- 0.7.0
- 0.6.1
- 0.6.0
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml
index ae2d2b34..9f781c72c 100644
--- a/docs/pkgdown.yml
+++ b/docs/pkgdown.yml
@@ -7,10 +7,8 @@ articles:
MDR: MDR.html
SPSS: SPSS.html
WHONET: WHONET.html
- ab_property: ab_property.html
benchmarks: benchmarks.html
freq: freq.html
- mo_property: mo_property.html
resistance_predict: resistance_predict.html
urls:
reference: https://msberends.gitlab.io/AMR/reference
diff --git a/docs/reference/index.html b/docs/reference/index.html
index d12f8e78..1cd5d5f9 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -78,7 +78,7 @@
AMR (for R)
- 0.7.0.9013
+ 0.7.0.9014
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
index 9d039f3b..1d3f5d05 100644
--- a/docs/sitemap.xml
+++ b/docs/sitemap.xml
@@ -153,18 +153,12 @@
https://msberends.gitlab.io/AMR/articles/WHONET.html
-
- https://msberends.gitlab.io/AMR/articles/ab_property.html
-
https://msberends.gitlab.io/AMR/articles/benchmarks.html
https://msberends.gitlab.io/AMR/articles/freq.html
-
- https://msberends.gitlab.io/AMR/articles/mo_property.html
-
https://msberends.gitlab.io/AMR/articles/resistance_predict.html
diff --git a/git_premaster.sh b/git_premaster.sh
index 9bd2496c..3e98f8ef 100755
--- a/git_premaster.sh
+++ b/git_premaster.sh
@@ -66,8 +66,7 @@ echo "• List of changed files •"
echo "•••••••••••••••••••••••••"
git status --short
echo
-
-read -p "Pushing version ${new_version}. Continue (Y/n)? " choice
+read -p "Uploading version ${new_version}. Continue (Y/n)? " choice
case "$choice" in
n|N ) exit 1;;
* ) ;;
@@ -82,6 +81,7 @@ git commit -a -m "(v$new_version) $1" --quiet
git push --quiet
echo "Comparison:"
echo "https://gitlab.com/msberends/AMR/compare/master...premaster?view=inline"
-
+echo "Check for all CRAN tests:"
+echo "rhub::check_for_cran(devtools::build(args = c('--no-build-vignettes')))"
echo
echo "Done."
diff --git a/tests/testthat/test-mo.R b/tests/testthat/test-mo.R
index 1bfa0839..c8dee3b2 100644
--- a/tests/testthat/test-mo.R
+++ b/tests/testthat/test-mo.R
@@ -260,9 +260,9 @@ test_that("as.mo works", {
expect_null(mo_failures())
expect_true(septic_patients %>% pull(mo) %>% is.mo())
- expect_equal(get_mo_code("test", "mo"), "test")
- expect_equal(length(get_mo_code("Escherichia", "genus")),
- nrow(AMR::microorganisms[base::which(AMR::microorganisms[, "genus"] %in% "Escherichia"),]))
+ # expect_equal(get_mo_code("test", "mo"), "test")
+ # expect_equal(length(get_mo_code("Escherichia", "genus")),
+ # nrow(AMR::microorganisms[base::which(AMR::microorganisms[, "genus"] %in% "Escherichia"),]))
expect_error(translate_allow_uncertain(5))