Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [55s/85s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(PKNCA)
  
  Attaching package: 'PKNCA'
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("PKNCA")
  [ FAIL 34 | WARN 0 | SKIP 0 | PASS 1499 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-class-PKNCAdata.R:82:3'): PKNCAdata ────────────────────────────
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-class-PKNCAdata.R:82:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─testthat::expect_warning(PKNCAdata(obj.conc, obj.dose), class = "pknca_no_intervals_generated")
    8. │ └─testthat:::expect_condition_matching(...)
    9. │   └─testthat:::quasi_capture(...)
   10. │     ├─testthat (local) .capture(...)
   11. │     │ └─base::withCallingHandlers(...)
   12. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   13. ├─PKNCA::PKNCAdata(obj.conc, obj.dose)
   14. └─PKNCA:::PKNCAdata.PKNCAconc(obj.conc, obj.dose)
   15.   └─PKNCA:::PKNCAdata.default(...)
   16.     └─PKNCA:::full_join_PKNCAconc_PKNCAdose(conc = ret$conc, dose = ret$dose)
   17.       ├─dplyr::full_join(n_conc, n_dose, by = shared_groups)
   18.       └─dplyr:::full_join.data.frame(n_conc, n_dose, by = shared_groups)
   19.         └─dplyr:::join_mutate(...)
   20.           ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,2]>`)
   21.           └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,2]>`)
   22.             └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   23.               └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   24.                 ├─base::withCallingHandlers(...)
   25.                 └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test-class-PKNCAdata.R:335:3'): intervals may be a tibble ───────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-class-PKNCAdata.R:335:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::as.data.frame(pk.nca(mydata_tibble))
    5. ├─PKNCA::pk.nca(mydata_tibble)
    6. │ └─purrr::pmap(...)
    7. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    8. │     ├─purrr:::with_indexed_errors(...)
    9. │     │ └─base::withCallingHandlers(...)
   10. │     ├─purrr:::call_with_cleanup(...)
   11. │     └─PKNCA (local) .f(...)
   12. │       └─base::tryCatch(...)
   13. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   14. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15. │             └─value[[3L]](cond)
   16. │               └─base::stop(e)
   17. └─purrr (local) `<fn>`(`<smplErrr>`)
   18.   └─cli::cli_abort(...)
   19.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:18:3'): PKNCAresults generation ───────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-class-PKNCAresults.R:18:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:124:3'): PKNCAresults has exclude, when applicable ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(myresult <- pk.nca(mydata)) at test-class-PKNCAresults.R:124:2
    2. │ └─base::withCallingHandlers(...)
    3. ├─PKNCA::pk.nca(mydata)
    4. │ └─purrr::pmap(...)
    5. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    6. │     ├─purrr:::with_indexed_errors(...)
    7. │     │ └─base::withCallingHandlers(...)
    8. │     ├─purrr:::call_with_cleanup(...)
    9. │     └─PKNCA (local) .f(...)
   10. │       └─base::tryCatch(...)
   11. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13. │             └─value[[3L]](cond)
   14. │               └─base::stop(e)
   15. └─purrr (local) `<fn>`(`<smplErrr>`)
   16.   └─cli::cli_abort(...)
   17.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:171:3'): PKNCAresults summary ─────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-class-PKNCAresults.R:171:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:311:3'): dropping `start` and `end` from groups is allowed with a warning. ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-class-PKNCAresults.R:311:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:328:3'): summary.PKNCAresults manages exclusions as missing not as non-existent. ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-class-PKNCAresults.R:328:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:411:3'): print.summary_PKNCAresults works ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-class-PKNCAresults.R:411:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:433:3'): ptr works as a parameter ─────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-class-PKNCAresults.R:433:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:461:3'): exclude values are maintained in derived parameters during automatic calculation (#112) ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-class-PKNCAresults.R:461:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─testthat::expect_warning(results_obj <- pk.nca(data_obj), regexp = "Too few points for half-life")
    8. │ └─testthat:::expect_condition_matching(...)
    9. │   └─testthat:::quasi_capture(...)
   10. │     ├─testthat (local) .capture(...)
   11. │     │ └─base::withCallingHandlers(...)
   12. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   13. ├─PKNCA::pk.nca(data_obj)
   14. │ └─purrr::pmap(...)
   15. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
   16. │     ├─purrr:::with_indexed_errors(...)
   17. │     │ └─base::withCallingHandlers(...)
   18. │     ├─purrr:::call_with_cleanup(...)
   19. │     └─PKNCA (local) .f(...)
   20. │       └─base::tryCatch(...)
   21. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   22. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   23. │             └─value[[3L]](cond)
   24. │               └─base::stop(e)
   25. └─purrr (local) `<fn>`(`<smplErrr>`)
   26.   └─cli::cli_abort(...)
   27.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:525:3'): units work for calculations and summaries with one set of units across all analytes ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-class-PKNCAresults.R:525:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:596:3'): units work for calculations and summaries with one set of units across all analytes ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-class-PKNCAresults.R:596:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:643:3'): summary pretty_name control ──────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-class-PKNCAresults.R:643:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-class-PKNCAresults.R:705:3'): getGroups.PKNCAresults ───────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-class-PKNCAresults.R:705:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-dplyr.R:20:3'): dplyr filter ───────────────────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-dplyr.R:20:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-dplyr.R:39:3'): dplyr left_join ────────────────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-dplyr.R:39:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-dplyr.R:76:3'): dplyr mutate ───────────────────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-dplyr.R:76:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-dplyr.R:95:3'): dplyr group_by and ungroup ─────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-dplyr.R:95:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-exclude.R:208:3'): exclude.default ─────────────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(data_obj) at test-exclude.R:208:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-exclude_nca.R:4:3'): exclude_nca ───────────────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─base::suppressMessages(my_result <- pk.nca(my_data)) at test-exclude_nca.R:4:2
    2. │ └─base::withCallingHandlers(...)
    3. ├─PKNCA::pk.nca(my_data)
    4. │ └─purrr::pmap(...)
    5. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    6. │     ├─purrr:::with_indexed_errors(...)
    7. │     │ └─base::withCallingHandlers(...)
    8. │     ├─purrr:::call_with_cleanup(...)
    9. │     └─PKNCA (local) .f(...)
   10. │       └─base::tryCatch(...)
   11. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13. │             └─value[[3L]](cond)
   14. │               └─base::stop(e)
   15. └─purrr (local) `<fn>`(`<smplErrr>`)
   16.   └─cli::cli_abort(...)
   17.     └─rlang::abort(...)
  ── Error ('test-impute.R:194:3'): pk.nca with imputation ───────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(nca_obj_noimpute <- pk.nca(data_obj_noimpute)) at test-impute.R:194:2
    2. │ └─base::withCallingHandlers(...)
    3. ├─PKNCA::pk.nca(data_obj_noimpute)
    4. │ └─purrr::pmap(...)
    5. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    6. │     ├─purrr:::with_indexed_errors(...)
    7. │     │ └─base::withCallingHandlers(...)
    8. │     ├─purrr:::call_with_cleanup(...)
    9. │     └─PKNCA (local) .f(...)
   10. │       └─base::tryCatch(...)
   11. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13. │             └─value[[3L]](cond)
   14. │               └─base::stop(e)
   15. └─purrr (local) `<fn>`(`<smplErrr>`)
   16.   └─cli::cli_abort(...)
   17.     └─rlang::abort(...)
  ── Error ('test-pk.calc.all.R:11:3'): pk.nca ───────────────────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-pk.calc.all.R:11:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-pk.calc.all.R:179:3'): verbose pk.nca ──────────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-pk.calc.all.R:179:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─testthat::expect_message(...)
    8. │ └─testthat:::expect_condition_matching(...)
    9. │   └─testthat:::quasi_capture(...)
   10. │     ├─testthat (local) .capture(...)
   11. │     │ └─base::withCallingHandlers(...)
   12. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   13. ├─testthat::expect_message(...)
   14. │ └─testthat:::expect_condition_matching(...)
   15. │   └─testthat:::quasi_capture(...)
   16. │     ├─testthat (local) .capture(...)
   17. │     │ └─base::withCallingHandlers(...)
   18. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   19. ├─base::suppressWarnings(pk.nca(mydata, verbose = TRUE))
   20. │ └─base::withCallingHandlers(...)
   21. ├─PKNCA::pk.nca(mydata, verbose = TRUE)
   22. │ └─purrr::pmap(...)
   23. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
   24. │     ├─purrr:::with_indexed_errors(...)
   25. │     │ └─base::withCallingHandlers(...)
   26. │     ├─purrr:::call_with_cleanup(...)
   27. │     └─PKNCA (local) .f(...)
   28. │       └─base::tryCatch(...)
   29. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   30. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   31. │             └─value[[3L]](cond)
   32. │               └─base::stop(e)
   33. └─purrr (local) `<fn>`(`<smplErrr>`)
   34.   └─cli::cli_abort(...)
   35.     └─rlang::abort(...)
  ── Error ('test-pk.calc.all.R:222:3'): Calculations when dose time is missing ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-pk.calc.all.R:222:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-pk.calc.all.R:234:3'): Calculations when no dose info is given ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-pk.calc.all.R:234:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─PKNCA::pk.nca(mydata)
    8. │ └─purrr::pmap(...)
    9. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
   10. │     ├─purrr:::with_indexed_errors(...)
   11. │     │ └─base::withCallingHandlers(...)
   12. │     ├─purrr:::call_with_cleanup(...)
   13. │     └─PKNCA (local) .f(...)
   14. │       └─base::tryCatch(...)
   15. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   16. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   17. │             └─value[[3L]](cond)
   18. │               └─base::stop(e)
   19. └─purrr (local) `<fn>`(`<smplErrr>`)
   20.   └─cli::cli_abort(...)
   21.     └─rlang::abort(...)
  ── Error ('test-pk.calc.all.R:262:3'): pk.nca with exclusions ──────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=Inf: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-pk.calc.all.R:262:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-pk.calc.all.R:291:3'): pk.calc.all with duration.dose required ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-pk.calc.all.R:291:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-pk.calc.all.R:315:3'): half life inclusion and exclusion ───────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-pk.calc.all.R:315:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-pk.calc.all.R:336:3'): No interval requested (e.g. for placebo) ──
  Error in `vectbl_assign(x[[j]], i, recycled_value[[j]])`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-pk.calc.all.R:336:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─testthat::expect_warning(...)
    8. │ └─testthat:::expect_condition_matching(...)
    9. │   └─testthat:::quasi_capture(...)
   10. │     ├─testthat (local) .capture(...)
   11. │     │ └─base::withCallingHandlers(...)
   12. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   13. ├─testthat::expect_warning(...)
   14. │ └─testthat:::expect_condition_matching(...)
   15. │   └─testthat:::quasi_capture(...)
   16. │     ├─testthat (local) .capture(...)
   17. │     │ └─base::withCallingHandlers(...)
   18. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   19. ├─testthat::expect_warning(myresult <- pk.nca(mydata), class = "pknca_no_intervals")
   20. │ └─testthat:::expect_condition_matching(...)
   21. │   └─testthat:::quasi_capture(...)
   22. │     ├─testthat (local) .capture(...)
   23. │     │ └─base::withCallingHandlers(...)
   24. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   25. └─PKNCA::pk.nca(mydata)
   26.   └─PKNCA:::full_join_PKNCAdata(data)
   27.     ├─dplyr::full_join(conc_dose, n_i, by = shared_groups)
   28.     └─dplyr:::full_join.data.frame(conc_dose, n_i, by = shared_groups)
   29.       └─dplyr:::join_mutate(...)
   30.         ├─base::`[<-`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   31.         └─tibble:::`[<-.tbl_df`(`*tmp*`, new_rows, merge, value = `<tibble[,1]>`)
   32.           └─tibble:::tbl_subassign(x, i, j, value, i_arg, j_arg, substitute(value))
   33.             └─tibble:::tbl_subassign_row(xj, i, value, i_arg, value_arg, call)
   34.               ├─base::withCallingHandlers(...)
   35.               └─tibble:::vectbl_assign(x[[j]], i, recycled_value[[j]])
  ── Error ('test-pk.calc.all.R:414:3'): Missing dose info for some subjects gives a warning, not a difficult-to-interpret error ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-pk.calc.all.R:414:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-pk.calc.all.R:442:3'): Ensure that options are respected during pk.nca call ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(linear.mydata) at test-pk.calc.all.R:442:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-pk.calc.all.R:491:3'): calculate with sparse data ──────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-pk.calc.all.R:491:2
    2. │ └─base::withCallingHandlers(...)
    3. ├─testthat::expect_warning(...)
    4. │ └─testthat:::expect_condition_matching(...)
    5. │   └─testthat:::quasi_capture(...)
    6. │     ├─testthat (local) .capture(...)
    7. │     │ └─base::withCallingHandlers(...)
    8. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    9. ├─testthat::expect_warning(o_nca <- pk.nca(o_data_sparse), class = "pknca_sparse_df_multi")
   10. │ └─testthat:::expect_condition_matching(...)
   11. │   └─testthat:::quasi_capture(...)
   12. │     ├─testthat (local) .capture(...)
   13. │     │ └─base::withCallingHandlers(...)
   14. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   15. ├─PKNCA::pk.nca(o_data_sparse)
   16. │ └─purrr::pmap(...)
   17. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
   18. │     ├─purrr:::with_indexed_errors(...)
   19. │     │ └─base::withCallingHandlers(...)
   20. │     ├─purrr:::call_with_cleanup(...)
   21. │     └─PKNCA (local) .f(...)
   22. │       └─base::tryCatch(...)
   23. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   24. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   25. │             └─value[[3L]](cond)
   26. │               └─base::stop(e)
   27. └─purrr (local) `<fn>`(`<smplErrr>`)
   28.   └─cli::cli_abort(...)
   29.     └─rlang::abort(...)
  ── Error ('test-pk.calc.dn.R:20:3'): pk.calc.cmax ──────────────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=24: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─PKNCA::pk.nca(mydata) at test-pk.calc.dn.R:20:2
    2. │ └─purrr::pmap(...)
    3. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    4. │     ├─purrr:::with_indexed_errors(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     ├─purrr:::call_with_cleanup(...)
    7. │     └─PKNCA (local) .f(...)
    8. │       └─base::tryCatch(...)
    9. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   10. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   11. │             └─value[[3L]](cond)
   12. │               └─base::stop(e)
   13. └─purrr (local) `<fn>`(`<smplErrr>`)
   14.   └─cli::cli_abort(...)
   15.     └─rlang::abort(...)
  ── Error ('test-pk.calc.simple.R:454:3'): pk.calc.aucabove ─────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::pmap(.l = list(data_conc = splitdata$data_conc, data_dose = splitdata$data_dose, 
      data_intervals = splitdata$data_intervals), .f = pk.nca.intervals, 
      options = data$options, impute = data$impute, verbose = verbose, 
      sparse = FALSE)`: i In index: 1.
  Caused by error in `vectbl_assign()`:
  ! Please report a bug.
  : Error with interval start=0, end=6: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─base::suppressMessages(o_nca <- pk.nca(o_data)) at test-pk.calc.simple.R:454:2
    2. │ └─base::withCallingHandlers(...)
    3. ├─PKNCA::pk.nca(o_data)
    4. │ └─purrr::pmap(...)
    5. │   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
    6. │     ├─purrr:::with_indexed_errors(...)
    7. │     │ └─base::withCallingHandlers(...)
    8. │     ├─purrr:::call_with_cleanup(...)
    9. │     └─PKNCA (local) .f(...)
   10. │       └─base::tryCatch(...)
   11. │         └─base (local) tryCatchList(expr, classes, parentenv, handlers)
   12. │           └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   13. │             └─value[[3L]](cond)
   14. │               └─base::stop(e)
   15. └─purrr (local) `<fn>`(`<smplErrr>`)
   16.   └─cli::cli_abort(...)
   17.     └─rlang::abort(...)
  
  [ FAIL 34 | WARN 0 | SKIP 0 | PASS 1499 ]
  Error: Test failures
  Execution halted