tests/testthat/test-manifest.R

test_that("manifest works", {
  file_paths <- metaboData::filePaths('FIE-HRMS','BdistachyonEcotypes')
  sample_information <- metaboData::runinfo('FIE-HRMS','BdistachyonEcotypes')
  
  workflow_input <- inputFilePath(file_paths,sample_information)
  
  workflow_definition <- defineWorkflow(workflow_input,
                                        'FIE-HRMS fingerprinting',
                                        'Example project')
  
  workflow_manifest <- manifest(workflow_definition)
  
  expect_s3_class(workflow_manifest,'tbl_df')
})
jasenfinch/metaboWorkflows documentation built on May 24, 2023, 8:23 a.m.