library(testthat)
library(MsBackendMsp)
## Run specific (backend) package tests
test_check("MsBackendMsp")
## Run additional tests from Spectra:
test_suite <- system.file("test_backends", "test_MsBackend",
package = "Spectra")
fls <- system.file("extdata", "minimona.msp", package = "MsBackendMsp")
be <- MsBackendMsp()
be <- backendInitialize(
be, fls, mapping = spectraVariableMapping(MsBackendMsp(), "mona"))
test_dir(test_suite, stop_on_failure = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.