diff --git a/DESCRIPTION b/DESCRIPTION index 878c2126..6fc68885 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: AMR -Version: 0.7.1.9086 +Version: 0.7.1.9087 Date: 2019-09-23 Title: Antimicrobial Resistance Analysis Authors@R: c( diff --git a/NEWS.md b/NEWS.md index 8652c6c4..7405bd0e 100755 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 0.7.1.9086 +# AMR 0.7.1.9087 Last updated: 23-Sep-2019 ### Breaking diff --git a/R/mo_history.R b/R/mo_history.R index 99c6ca93..57f671db 100644 --- a/R/mo_history.R +++ b/R/mo_history.R @@ -31,9 +31,10 @@ set_mo_history <- function(x, mo, uncertainty_level, force = FALSE, disable = FA mo <- mo[!x %in% microorganisms.codes$code & !x %in% microorganisms.translation$mo_old] x <- x[!x %in% microorganisms.codes$code & !x %in% microorganisms.translation$mo_old] + warning_new_write <- FALSE + if (base::interactive() | force == TRUE) { mo_hist <- read_mo_history(uncertainty_level = uncertainty_level, force = force) - warning_new_write <- FALSE df <- data.frame(x, mo, stringsAsFactors = FALSE) %>% distinct(x, .keep_all = TRUE) %>% filter(!is.na(x) & !is.na(mo)) diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 87403e4f..483e0e81 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -78,7 +78,7 @@
diff --git a/docs/articles/index.html b/docs/articles/index.html index eb7e2889..61274641 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -78,7 +78,7 @@ diff --git a/docs/authors.html b/docs/authors.html index e474bd7a..7c01e2cd 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -78,7 +78,7 @@ diff --git a/docs/index.html b/docs/index.html index 574099ae..d6d9a95c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -42,7 +42,7 @@ diff --git a/docs/news/index.html b/docs/news/index.html index 7ea3ccc6..aa2b8e34 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -78,7 +78,7 @@ @@ -225,9 +225,9 @@ -Last updated: 23-Sep-2019
as.mo(..., allow_uncertain = 3)
Contents