Rcpp::compileAttributes() Error

后端 未结 6 2175
遇见更好的自我
遇见更好的自我 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:59

    In my case this happens when there is a problem with the NAMESPACE file, or when NAMESPACE is missing. There is a catch-22. Roxygen2 wont overwrite your NAMESPACE file, but if you delete it and run roxygen to generate the NAMESPACE file, compileAttributes is called, but hangs because the NAMESPACE file is missing.

提交回复
热议问题