R package: underscores added to RcppExports.R when building

大兔子大兔子 提交于 2019-12-06 11:52:30

Make sure you have the same (current) versions of Rcpp on both machines. Then the RcppExports.{R,cpp} files will be identical.

The change was a requirement from R upstream (around R 3.4.0) and we needed to adjust.

Also note that you probably want registration=TRUE in your NAMESPACE file in which case the form becomes

.Call(`_PkgName_FunctionName`, arguments)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!