# Reduce redundant calls to the same service - this only needs to be made
# once per test 
cnProd <- CNode()
cnStaging2 <- CNode("STAGING2")
d1cKNB <- D1Client("PROD", "urn:node:KNB")
mnKNB <- d1cKNB@mn
d1cProd <- D1Client("PROD")
d1cTestKNB <- D1Client("STAGING2", "urn:node:mnTestKNB")
# If mnStageUCSB2 isn't available for write tests, use mnTestKNB
#d1cTest <- D1Client("STAGING", "urn:node:mnStageUCSB2")
d1cTest <- d1cTestKNB
mnTest <- d1cTestKNB@mn

Try the dataone package in your browser

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

dataone documentation built on July 2, 2018, 1:02 a.m.