Skip to content

Commit

Permalink
stop excessive warnings (#205)
Browse files Browse the repository at this point in the history
Co-authored-by: ‘topepo’ <‘[email protected]’>
  • Loading branch information
topepo and ‘topepo’ authored Feb 27, 2024
1 parent 74c6c37 commit ac822ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/helper-objects.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ run_glmnet <- utils::compareVersion('3.6.0', as.character(getRversion())) > 0

spark_not_installed <- function() {

need_install <- try(sparklyr::spark_install_find(), silent = TRUE)
quietly_inquire_re_spark <- purrr:::quietly(sparklyr::spark_install_find)()
need_install <- try(quietly_inquire_re_spark(), silent = TRUE)

if(inherits(need_install, "try-error")) {
need_install <- TRUE
Expand Down

0 comments on commit ac822ee

Please sign in to comment.