(v1.8.0.9002) as.rsi() cleanup, more informative warnings

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-03-02 15:38:55 +01:00
1 parent 18e8525d10
commit 3b2b2be5f8
35 files changed
+267 -320

No files matched your search

+1 -1
View File
@@ -175,7 +175,7 @@ atc_online_property <- function(atc_code,
colnames(out) <- gsub("^atc.*", "atc", tolower(colnames(out)))
if (length(out) == 0) {
warning_("ATC not found: ", atc_code[i], ". Please check ", atc_url, ".", call = FALSE)
warning_("in `atc_online_property()`: ATC not found: ", atc_code[i], ". Please check ", atc_url, ".")
returnvalue[i] <- NA
next
}