Skip to content

Rcpp packages FAILS when using roxygen2 to handle NAMESPACE (correction - this is not a bug - issue closed) #130

@talgalili

Description

@talgalili

If building an Rcpp package (using rcpp.package.skeleton will do),
And turning on:
build tools -> generate documentation with roxygen -> configure -> use roxygen to generate -> NAMESPACE files

Will cause roxygen to erase the following two ESSENTIAL lines from NAMESPACE:
useDynLib(PkgName)
exportPattern("^[[:alpha:]]+")

This will cause an error of the style:
Error in .Call("RcppDend_Rcpp_labels_dendrogram", PACKAGE = "RcppDend") :
"RcppDend_Rcpp_labels_dendrogram
" not available for .Call() for package "RcppDend"

I will also submit this report in the roxygen repo.

Thanks :)
Tal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions