Skip to content

Rcpp should not change names of functions #1615

Description

@kellijohnson-NOAA

We need to automate the exporting of documentation from C++ to R, where right now we manually write Rcpp_exports.R. This could be facilitate from the FIMS.tag file but we need to have consistent names and not export the function as a different name, i.e., the tag file contains low-level names like set_fixed_parameters, get_fixed_parameters_vector, logit_rcpp, inv_logit_rcpp, get_log_info, write_log, and set_log_path, while the exported R names in NAMESPACE and R/Rcpp_exports.R:48 are curated names like set_fixed, get_fixed, logit, and inv_logit, omitting some registered functions such as get_log_info, write_log, set_log_path, and init_logging.

Originally posted by @e-perl-NOAA in #1563 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueA small task that does not require previous knowledge of the projectkind: documentationImprovements or additions to documentationkind: refactorRestructure code to improve the implementation

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions