Running ‘testthat.R’ [11s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(partR2)
  > test_check("partR2")
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 65 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_bootstrap.R:22:1'): (code run outside of `test_that()`) ────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. └─partR2:::bootstrap_all(...) at test_bootstrap.R:22:0
    2.   └─pbapply::pblapply(...)
    3.     └─base::lapply(X, FUN, ...)
    4.       └─purrr (local) FUN(X[[i]], ...)
    5.         ├─purrr:::capture_output(.f(...))
    6.         │ └─base::withCallingHandlers(code, warning = wHandler, message = mHandler)
    7.         └─partR2 (local) .f(...)
    8.           └─partR2:::get_bw(mod_iter)
    9.             ├─base::`[<-`(`*tmp*`, ests$term %in% names(sds), "estimate", value = `<dbl>`)
   10.             └─tibble:::`[<-.tbl_df`(...)
   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 ('test_combinations.R:49:1'): (code run outside of `test_that()`) ─────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─partR2::partR2(...) at test_combinations.R:49:0
   2.   └─partR2:::get_bw(mod)
   3.     ├─base::`[<-`(`*tmp*`, ests$term %in% names(sds), "estimate", value = `<dbl>`)
   4.     └─tibble:::`[<-.tbl_df`(...)
   5.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   6.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   7.           ├─base::withCallingHandlers(...)
   8.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_merging.R:18:1'): (code run outside of `test_that()`) ──────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─partR2::partR2(...) at test_merging.R:18:0
   2.   └─partR2:::get_bw(mod)
   3.     ├─base::`[<-`(`*tmp*`, ests$term %in% names(sds), "estimate", value = `<dbl>`)
   4.     └─tibble:::`[<-.tbl_df`(...)
   5.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   6.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   7.           ├─base::withCallingHandlers(...)
   8.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_methods.R:11:1'): (code run outside of `test_that()`) ──────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─partR2::partR2(mod, data = biomass, R2_type = "marginal", CI = 0.95) at test_methods.R:11:0
   2.   └─partR2:::get_bw(mod)
   3.     ├─base::`[<-`(`*tmp*`, ests$term %in% names(sds), "estimate", value = `<dbl>`)
   4.     └─tibble:::`[<-.tbl_df`(...)
   5.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   6.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   7.           ├─base::withCallingHandlers(...)
   8.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test_partR2.R:17:3'): partR2 works for some special cases ───────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. └─partR2::partR2(...) at test_partR2.R:17:2
   2.   └─partR2:::get_bw(mod)
   3.     ├─base::`[<-`(`*tmp*`, ests$term %in% names(sds), "estimate", value = `<dbl>`)
   4.     └─tibble:::`[<-.tbl_df`(...)
   5.       └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   6.         └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   7.           ├─base::withCallingHandlers(...)
   8.           └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  
  [ FAIL 5 | WARN 0 | SKIP 0 | PASS 65 ]
  Error: Test failures
  Execution halted