tests/testthat/test-002-projectSetup.R

context("Initialize Test Project")

purgeProject(rcon, 
             purge_all = TRUE)

load(test_path("testdata", "test_redcapAPI_MetaData.Rdata"))

importMetaData(rcon, 
               test_redcapAPI_MetaData[1, ])

Try the redcapAPI package in your browser

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

redcapAPI documentation built on Sept. 13, 2023, 1:07 a.m.