diff --git a/DESCRIPTION b/DESCRIPTION index b45a7cd..7210594 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -61,6 +61,7 @@ Imports: cli, crayon, data.table, + detectseparation (<= 0.2), dplyr, generics, ggplot2, diff --git a/R/pkg_check.R b/R/pkg_check.R index ebce473..f8540dd 100644 --- a/R/pkg_check.R +++ b/R/pkg_check.R @@ -80,16 +80,3 @@ methods::setMethod( invisible() } ) - -check_version <- function(pkg, v) { - - check <- utils::packageVersion(pkg) == v - if (!check) { - rlang::warn(c( - "i" = glue::glue( - "Temporarily the version of the package ", - "{crayon::blue(pkg)} must be {crayon::blue(paste0('v', v))}, but you ") - ), use_cli_format = TRUE) - } -} -