Running 'testthat.R' [16s]
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(tipmap)
  > 
  > test_check("tipmap")
  Saving _problems/test-create_posterior_data-6.R
  Saving _problems/test-create_posterior_data-19.R
  Saving _problems/test-create_posterior_data-43.R
  Saving _problems/test-create_tipmap_data-6.R
  Saving _problems/test-create_tipmap_data-19.R
  Saving _problems/test-create_tipmap_data-37.R
  Saving _problems/test-oc_bias-16.R
  Saving _problems/test-oc_coverage-16.R
  Saving _problems/test-oc_pos-19.R
  Treatment effect in target population without borrowing
  Treatment effect in target population without borrowing
  95% credible interval for MAP prior includes null treatment effect
  95% credible interval for MAP prior includes null treatment effect
  Treatment effect in target population without borrowing
  Treatment effect in target population without borrowing
  Treatment effect in target population without borrowing
  Weight 0 identified for tipping point of quantile 0.025
  Weight 0 identified for tipping point of quantile 0.05
  Weight 0 identified for tipping point of quantile 0.1
  Weight 0 identified for tipping point of quantile 0.2
  Treatment effect in target population without borrowing
  95% credible interval for MAP prior includes null treatment effect
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 177 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-create_posterior_data.R:3:3'): return posterior data ───────────
  Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/RBesT/libs/x64/RBesT.dll':
    LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
  
  Backtrace:
      ▆
   1. ├─tipmap::create_posterior_data(...) at test-create_posterior_data.R:3:3
   2. │ └─tipmap (local) make_posterior(default_weights[i])
   3. └─base::loadNamespace(x)
   4.   └─base::library.dynam(lib, package, package.lib)
   5.     └─base::dyn.load(file, DLLpath = DLLpath, ...)
   6.       └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
  ── Error ('test-create_posterior_data.R:14:3'): create_posterior_data returns expected shape for equal-tailed intervals ──
  Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/RBesT/libs/x64/RBesT.dll':
    LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
  
  Backtrace:
      ▆
   1. ├─tipmap::create_posterior_data(...) at test-create_posterior_data.R:14:3
   2. │ └─tipmap (local) make_posterior(default_weights[i])
   3. └─base::loadNamespace(x)
   4.   └─base::library.dynam(lib, package, package.lib)
   5.     └─base::dyn.load(file, DLLpath = DLLpath, ...)
   6.       └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
  ── Error ('test-create_posterior_data.R:37:3'): create_posterior_data returns expected shape for hpdi intervals ──
  Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/RBesT/libs/x64/RBesT.dll':
    LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
  
  Backtrace:
      ▆
   1. ├─tipmap::create_posterior_data(...) at test-create_posterior_data.R:37:3
   2. │ └─tipmap (local) make_posterior(default_weights[i])
   3. └─base::loadNamespace(x)
   4.   └─base::library.dynam(lib, package, package.lib)
   5.     └─base::dyn.load(file, DLLpath = DLLpath, ...)
   6.       └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
  ── Error ('test-create_tipmap_data.R:2:3'): return tipping point data ──────────
  <functionNotFoundError/objectNotFoundError/error/condition>
  Error in `qmix_impl(qnorm, mix, p, lower.tail, log.p)`: could not find function "qmix_impl"
  Backtrace:
      ▆
   1. └─tipmap::create_tipmap_data(...) at test-create_tipmap_data.R:2:3
   2.   ├─base::summary(map_prior, probs = default_quantiles)
   3.   └─RBesT:::summary.normMix(map_prior, probs = default_quantiles)
   4.     └─global qmix.normMix(object, p = probs)
  ── Error ('test-create_tipmap_data.R:15:3'): create_tipmap_data works without meta-analysis ──
  <functionNotFoundError/objectNotFoundError/error/condition>
  Error in `qmix_impl(qnorm, mix, p, lower.tail, log.p)`: could not find function "qmix_impl"
  Backtrace:
      ▆
   1. └─tipmap::create_tipmap_data(...) at test-create_tipmap_data.R:15:3
   2.   ├─base::summary(map_prior, probs = default_quantiles)
   3.   └─RBesT:::summary.normMix(map_prior, probs = default_quantiles)
   4.     └─global qmix.normMix(object, p = probs)
  ── Error ('test-create_tipmap_data.R:32:3'): create_tipmap_data works with meta-analysis ──
  <functionNotFoundError/objectNotFoundError/error/condition>
  Error in `qmix_impl(qnorm, mix, p, lower.tail, log.p)`: could not find function "qmix_impl"
  Backtrace:
      ▆
   1. └─tipmap::create_tipmap_data(...) at test-create_tipmap_data.R:32:3
   2.   ├─base::summary(map_prior, probs = default_quantiles)
   3.   └─RBesT:::summary.normMix(map_prior, probs = default_quantiles)
   4.     └─global qmix.normMix(object, p = probs)
  ── Error ('test-oc_bias.R:7:3'): oc_bias returns matrix-like result with expected dimensions ──
  Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/RBesT/libs/x64/RBesT.dll':
    LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
  
  Backtrace:
       ▆
    1. ├─tipmap::oc_bias(...) at test-oc_bias.R:7:3
    2. │ ├─... %>% apply(c(1, 2), mean)
    3. │ └─furrr::future_map2(...)
    4. │   └─furrr:::furrr_map2_template(...)
    5. │     └─furrr:::furrr_template(...)
    6. │       └─furrr:::furrr_try_catch(...)
    7. │         └─base::tryCatch(expr = expr, purrr_error_indexed = rethrow_purrr_error_indexed)
    8. │           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9. │             └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10. │               └─value[[3L]](cond)
   11. │                 └─rlang::cnd_signal(cnd)
   12. ├─base::apply(., c(1, 2), mean)
   13. └─base::simplify2array(.)
  ── Error ('test-oc_coverage.R:7:3'): oc_coverage returns matrix-like result with expected dimensions ──
  Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/RBesT/libs/x64/RBesT.dll':
    LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
  
  Backtrace:
       ▆
    1. ├─tipmap::oc_coverage(...) at test-oc_coverage.R:7:3
    2. │ ├─... %>% apply(c(1, 2), mean)
    3. │ └─furrr::future_map2(...)
    4. │   └─furrr:::furrr_map2_template(...)
    5. │     └─furrr:::furrr_template(...)
    6. │       └─furrr:::furrr_try_catch(...)
    7. │         └─base::tryCatch(expr = expr, purrr_error_indexed = rethrow_purrr_error_indexed)
    8. │           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9. │             └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10. │               └─value[[3L]](cond)
   11. │                 └─rlang::cnd_signal(cnd)
   12. ├─base::apply(., c(1, 2), mean)
   13. └─base::simplify2array(.)
  ── Error ('test-oc_pos.R:8:3'): oc_pos returns matrix-like result with expected dimensions ──
  Error in `inDL(x, as.logical(local), as.logical(now), ...)`: unable to load shared object 'D:/RCompile/CRANpkg/lib/4.7/RBesT/libs/x64/RBesT.dll':
    LoadLibrary failure:  Das angegebene Modul wurde nicht gefunden.
  
  Backtrace:
       ▆
    1. ├─tipmap::oc_pos(...) at test-oc_pos.R:8:3
    2. │ ├─... %>% apply(c(1, 2), mean)
    3. │ └─furrr::future_map2(...)
    4. │   └─furrr:::furrr_map2_template(...)
    5. │     └─furrr:::furrr_template(...)
    6. │       └─furrr:::furrr_try_catch(...)
    7. │         └─base::tryCatch(expr = expr, purrr_error_indexed = rethrow_purrr_error_indexed)
    8. │           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9. │             └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10. │               └─value[[3L]](cond)
   11. │                 └─rlang::cnd_signal(cnd)
   12. ├─base::apply(., c(1, 2), mean)
   13. └─base::simplify2array(.)
  
  [ FAIL 9 | WARN 0 | SKIP 0 | PASS 177 ]
  Error:
  ! Test failures.
  Execution halted