resplab / epicR

R package for the Evaluation Platform in COPD (EPIC), an agent-based whole-disease model for projection of health and economic outcomes and COPD interventions.
11 stars 11 forks source link

Cget_output and similar functions are not available #6

Closed aminadibi closed 7 years ago

aminadibi commented 7 years ago

Solved. The problem was that R wrappers for C functions were not being exported in the NAMESPACE

All// [[Rcpp::export]] statements in the C file have now been replaced with

//' @export
// [[Rcpp::export]] 

which allows for the wrapper to include a statement that would cause roxygen to add the functions to the NAMESPACE. Note that some of the exports may be unnecessary (as all have been exported now) and be removed later.