Namespace in Imports field not imported from: ‘BH’
  All declared Imports should be used.
Namespace in Imports field not imported from: ‘BH’
  All declared Imports should be used.
Running ‘testthat.R’ [70s/98s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(PKPDsim)
  > 
  > test_check("PKPDsim")
  Simulating 3 individuals.
  Recalculating infusion rates to reflect bioavailability for infusion.
  Recalculating infusion rates to reflect bioavailability for infusion.
  [ FAIL 1 | WARN 0 | SKIP 27 | PASS 494 ]
  
  ══ Skipped tests (27) ══════════════════════════════════════════════════════════
  • On CRAN (27): 'test_advan_with_auc.R:71:3', 'test_advan_with_auc.R:84:3',
    'test_advan_with_auc.R:106:3', 'test_advan_with_auc.R:131:3',
    'test_advan_with_auc.R:153:3', 'test_advan_with_covariates.R:2:3',
    'test_bioav_def.R:8:3', 'test_bioav_def.R:27:3',
    'test_calc_ss_analytic.R:74:3', 'test_calc_ss_analytic.R:100:3',
    'test_calc_ss_analytic.R:110:3', 'test_calc_ss_analytic.R:119:3',
    'test_cmt_mapping.R:31:3', 'test_get_var_y.R:25:3', 'test_get_var_y.R:49:3',
    'test_get_var_y.R:93:3', 'test_get_var_y.R:132:3', 'test_iov.R:84:3',
    'test_model_from_api.R:17:3', 'test_multi_obs.R:168:3',
    'test_new_ode_model.R:2:3', 'test_new_ode_model.R:76:3',
    'test_new_ode_model.R:137:3', 'test_parameters_table.R:2:3',
    'test_pkpd_combined.R:2:3', 'test_sim_lagtime.R:2:3',
    'test_timevar_cov.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_is_positive_definite.R:108:3'): Matrix where numerical solver issues result in very tiny complex components ──
  `is_x_positive_def <- is_positive_definite(x)` did not throw the expected warning.
  
  [ FAIL 1 | WARN 0 | SKIP 27 | PASS 494 ]
  Error: Test failures
  Execution halted

Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  anova.art.Rd: Anova
  art.Rd: lmer
  art.con.Rd: contrast, summary.emmGrid, lmer, emmeans
  artlm.Rd: lmer, merMod
  artlm.con.Rd: lmer, merMod
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  anova.art.Rd: Anova
  art.Rd: lmer
  art.con.Rd: contrast, summary.emmGrid, lmer, emmeans
  artlm.Rd: lmer, merMod
  artlm.con.Rd: lmer, merMod
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  anova.art.Rd: Anova
  art.Rd: lmer
  art.con.Rd: contrast, summary.emmGrid, lmer, emmeans
  artlm.Rd: lmer, merMod
  artlm.con.Rd: lmer, merMod
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
  anova.art.Rd: Anova
  art.Rd: lmer
  art.con.Rd: contrast, summary.emmGrid, lmer, emmeans
  artlm.Rd: lmer, merMod
  artlm.con.Rd: lmer, merMod
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.