admin管理员组文章数量:1122846
I was able to successfully install ggiraph on a system running Ubuntu 20.04 (R version 4.3.3) but not Ubuntu 24.04 (R version 4.4.2).
install.packages("ggiraph") gives this error:
In file included from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:181:
/usr/local/lib/R/site-library/Rcpp/include/Rcpp/print.h: In function ‘void Rcpp::warningcall(SEXP, const std::string&)’:
/usr/local/lib/R/site-library/Rcpp/include/Rcpp/print.h:30:19: error: format not a string literal and no format arguments [-Werror=format-security]
30 | Rf_warningcall(call, s.c_str());
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
cc1plus: some warnings being treated as errors
make: *** [/usr/lib/R/etc/Makeconf:204: RcppExports.o] Error 1
ERROR: compilation failed for package ‘ggiraph’
devtools::install_github('davidgohel/ggiraph') gives this error:
Error: .onLoad failed in loadNamespace() for 'pkgload', details:
call: .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
error: invalid non-character version specification 'x' (type: double)
本文标签: rproblem installing ggiraph on Ubuntu 2404Stack Overflow
版权声明:本文标题:r - problem installing ggiraph on Ubuntu 24.04 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736300219a1930737.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论