Rcpp::compileAttributes() Error

后端 未结 6 2226
遇见更好的自我
遇见更好的自我 2021-01-02 18:02

I am trying to compile a small package that I\'ve made. This package uses Rcpp and RcppArmadillo. Everything was working well until I updated my mac to Sierra (version 10.12

6条回答
  •  情深已故
    2021-01-02 18:40

    I don't know if this can help, but I had a similar problem because I named the package something like "xxx_package". I don't remember exactly what happened, I think I found out because when I tried to create a new package with a similar name in Rstudio it threw an error about the name, saying only letters and numbers were allowed. Rcpp::compileAttributes and even Rcpp::Rcpp.package.skeleton had not complained about the name. I tried with tools::package_native_routine_registration_skeleton(".", character_only = FALSE) to no avail.

    In any case, after creating a new package named "xxxPackage" all problems were solved.

提交回复
热议问题