Running ‘testthat.R’ [50s/77s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(flashlight)
  > 
  > test_check("flashlight")
  [ FAIL 2 | WARN 14 | SKIP 0 | PASS 354 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('tests-eff.R:153:3'): light_effects works and produces same as individual profiles ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_true(inherits(plot_counts(plot(eff), eff), "ggplot")) at tests-eff.R:153:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::inherits(plot_counts(plot(eff), eff), "ggplot")
    5. └─flashlight::plot_counts(plot(eff), eff)
    6.   ├─dplyr::right_join(...)
    7.   └─dplyr:::right_join.data.frame(...)
    8.     └─dplyr:::join_mutate(...)
    9.       ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,2]>`)
   10.       └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,2]>`)
   11.         └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12.           └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13.             ├─base::withCallingHandlers(...)
   14.             └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('tests-eff.R:172:3'): light_effects works with 'by' ──────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_true(inherits(plot_counts(plot(eff), eff), "ggplot")) at tests-eff.R:172:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::inherits(plot_counts(plot(eff), eff), "ggplot")
    5. └─flashlight::plot_counts(plot(eff), eff)
    6.   ├─dplyr::right_join(...)
    7.   └─dplyr:::right_join.data.frame(...)
    8.     └─dplyr:::join_mutate(...)
    9.       ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,3]>`)
   10.       └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,3]>`)
   11.         └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   12.           └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   13.             ├─base::withCallingHandlers(...)
   14.             └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  
  [ FAIL 2 | WARN 14 | SKIP 0 | PASS 354 ]
  Error: Test failures
  Execution halted