R/setNimbleInternalFunctions.R

nimbleInternalFunctions <- new.env()

internalFuns <- c("CmodelValues","buildNeededObjects","checkNimbleFunctionListCpp",
                  "copyFromRobjectViaActiveBindings","dimOrLength","getBoolValue",
                  "getCharacterValue","getCharacterVectorValue","getDoubleValue",
                  "getIntValue","getMVName","getMVptr","getNimValues","getVarAndIndices",
                  "newObjElementPtr","setBoolValue","setCharacterValue",
                  "setCharacterVectorValue","setDoublePtrFromSinglePtr",
                  "setSmartPtrFromSinglePtr","setSmartPtrFromDoublePtr",
                  "setDoubleValue","setIntValue","setNimValues",
                  "setOnePtrVectorOfPtrs","setPtrVectorOfPtrs", "nimbleFinalize",
                  "clearNeededObjects","getSetCharacterScalar","getSetCharacterVector",
                  "getSetDoubleScalar","getSetIntegerScalar","getSetLogicalScalar",
                  "getSetNimbleList","getSetNumericVector", "makeNewNimListSEXPRESSIONFromC",
                  "custom_optim")

for(fun in internalFuns) 
    assign(fun, get(fun), envir = nimbleInternalFunctions)

# remove these functions from the nimble namespace too?

Try the nimble package in your browser

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

nimble documentation built on Sept. 11, 2024, 7:10 p.m.