Running 'spelling.R' [0s]
  Running 'testthat.R' [7s]
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(BayesianMCPMod)
  > 
  > test_check("BayesianMCPMod")
  Error in `source_dir()`:
  ! Failed to evaluate './setup.R'.
  Caused by error in `inDL()`:
  ! 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. ├─testthat::test_check("BayesianMCPMod")
    2. │ └─testthat::test_dir(...)
    3. │   └─testthat:::test_files(...)
    4. │     └─testthat:::test_files_serial(...)
    5. │       └─testthat:::test_files_setup_state(...)
    6. │         └─testthat::source_test_setup(".", env)
    7. │           └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE)
    8. │             └─base::lapply(...)
    9. │               └─testthat (local) FUN(X[[i]], ...)
   10. │                 └─testthat::source_file(...)
   11. │                   ├─base::withCallingHandlers(...)
   12. │                   └─base::eval(exprs, env)
   13. │                     └─base::eval(exprs, env)
   14. │                       └─BayesianMCPMod:::getPriorList(...) at ./setup.R:98:1
   15. ├─base::loadNamespace(x) at ./setup.R:30:3
   16. │ └─base::library.dynam(lib, package, package.lib)
   17. │   └─base::dyn.load(file, DLLpath = DLLpath, ...)
   18. │     └─base (local) inDL(x, as.logical(local), as.logical(now), ...)
   19. └─base::.handleSimpleError(...)
   20.   └─testthat (local) h(simpleError(msg, call))
   21.     └─cli::cli_abort(...)
   22.       └─rlang::abort(...)
  Execution halted