(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

+2 -2
View File
@@ -100,10 +100,10 @@ as.disk <- function(x, na.rm = FALSE) {
unique() %pm>%
sort() %pm>%
vector_and(quotes = TRUE)
warning_(na_after - na_before, " results truncated (",
warning_("in `as.disk()`: ", na_after - na_before, " results truncated (",
round(((na_after - na_before) / length(x)) * 100),
"%) that were invalid disk zones: ",
list_missing, call = FALSE)
list_missing)
}
}
set_clean_class(as.integer(x),