Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(MGMS2)
  Loading required package: MALDIquant
  
  This is MALDIquant version 1.22
  Quantitative Analysis of Mass Spectrometry Data
   See '?MALDIquant' for more information about this package.
  
  Loading required package: MALDIquantForeign
  > 
  > test_check("MGMS2")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test.under_development.R:5:1'): (code run outside of `test_that()`) ──
  Error in `.estimateBaselineSnip(x, y, ...)`: DLL requires the use of native symbols
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test.under_development.R:5:0
    2. │ └─base::withCallingHandlers(...)
    3. └─MGMS2::process_monospectra(...) at test.under_development.R:7:8
    4.   └─MGMS2:::preprocessMS(spectra, halfWindowSize = 20, SNIP.iteration = 60)
    5.     ├─MALDIquant::removeBaseline(spectra, method = "SNIP", iterations = SNIP.iteration)
    6.     └─MALDIquant::removeBaseline(spectra, method = "SNIP", iterations = SNIP.iteration)
    7.       └─MALDIquant:::.mapply(removeBaseline, object, ...)
    8.         └─parallel::mcmapply(...)
    9.           └─parallel::mclapply(...)
   10.             └─base::lapply(X = X, FUN = FUN, ...)
   11.               └─parallel (local) FUN(X[[i]], ...)
   12.                 └─base::.mapply(FUN, dots, MoreArgs)
   13.                   ├─MALDIquant (local) `<stndrdGn>`(dots[[1L]][[1L]], method = dots[[2L]][[1L]], iterations = dots[[3L]][[1L]])
   14.                   └─MALDIquant (local) `<stndrdGn>`(dots[[1L]][[1L]], method = dots[[2L]][[1L]], iterations = dots[[3L]][[1L]])
   15.                     └─MALDIquant (local) .local(object, ...)
   16.                       └─MALDIquant:::.estimateBaseline(...)
   17.                         └─MALDIquant:::.estimateBaselineSnip(x, y, ...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted