mo codes for WHONET

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2019-02-08 16:06:54 +01:00
1 parent 3d3366faf7
commit ed30312048
60 files changed
+1103 -615

No files matched your search

+5 -1
View File
@@ -248,7 +248,11 @@ mo_gramstain <- function(x, language = get_locale(), ...) {
#' @rdname mo_property
#' @export
mo_TSN <- function(x, ...) {
mo_validate(x = x, property = "tsn", ...)
res <- mo_validate(x = x, property = "tsn", ...)
if (any(is.na(res))) {
warning("Some results do not have a TSN, because they are missing from ITIS and were added manually. See ?microorganisms.")
}
res
}
#' @rdname mo_property