tests/testthat/test_nameMultipleFiles.R

context("nameMultipleFiles")

test_that("All tests",{
    fileRef <- "testReference/nameMultipleFiles_01.rds"


    obj <- list(a=1,b=4)

    res <- nameMultipleFiles(fn="test.csv",list.obj=obj)

    expect_equal_to_reference(res,fileRef)

    if(F){
        ref <- readRDS(fileRef)
        ref
        res
    }
    
})

Try the NMsim package in your browser

Any scripts or data that you put into this service are public.

NMsim documentation built on Sept. 9, 2025, 5:33 p.m.