1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-13 05:21:50 +02:00

(v1.7.1.9077) skimr support only for newer R versions

This commit is contained in:
2021-12-23 13:38:25 +01:00
parent ed22b83c28
commit 75dac113b6
9 changed files with 45 additions and 27 deletions

View File

@ -52,9 +52,6 @@ import_functions <- c(
call_functions <- c(
# cleaner
"freq.default" = "cleaner",
# skimr
"inline_hist" = "skimr",
"sfl" = "skimr",
# readxl
"read_excel" = "readxl",
# ggplot2
@ -85,6 +82,12 @@ call_functions <- c(
"xlab" = "ggplot2",
"ylab" = "ggplot2"
)
if (pkg_is_available("skimr", also_load = FALSE, min_version = "2.0.0")) {
call_functions <- c(call_functions,
# skimr
"inline_hist" = "skimr",
"sfl" = "skimr")
}
extended_functions <- c(
"freq" = "cleaner",