mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 15:21:58 +02:00
(v1.8.0.9002) as.rsi() cleanup, more informative warnings
This commit is contained in:
4
R/disk.R
4
R/disk.R
@ -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),
|
||||
|
Reference in New Issue
Block a user