tests/testthat/setup.R

setup({
  ff=dir(test_path('testdata'), pattern = '\\.swc\\.txt$',
         recursive = T,  full.names = T)
  ffnew=sub("\\.txt$","",ff)
  file.copy(ff, ffnew)
})

Try the nat package in your browser

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

nat documentation built on Aug. 18, 2025, 5:20 p.m.