Skip to content

Commit

Permalink
force detectseparation v0.2 (corncob bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
xec-cm committed Sep 1, 2022
1 parent aa339ad commit d0ac8f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Imports:
cli,
crayon,
data.table,
detectseparation (<= 0.2),
dplyr,
generics,
ggplot2,
Expand Down
13 changes: 0 additions & 13 deletions R/pkg_check.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit d0ac8f6

Please sign in to comment.