Open shi-ang opened 2 months ago
I install in R 4.4.1 for windows 11 yesterday and it works fine.
Get Outlook for iOShttps://aka.ms/o0ukef
From: Shi-ang Qi @.> Sent: Tuesday, September 3, 2024 5:15:28 PM To: statapps/deepAFT @.> Cc: Subscribed @.***> Subject: [statapps/deepAFT] Compile Issue (Issue #1)
Hi there,
Thanks for the nice package!
I encountered a compiling issue when I tried to install the package (version 0.0.6). My R version is 4.4.1 and g++ version is 11.4.0. Just wondering if your package is compatible with the latest R version. If not, which version do you suggest for using?
Here is the detailed error message for your reference.
using C++ compiler: ‘g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’ g++ -std=gnu++17 -I"/usr/share/R/include" -DNDEBUG -I'/usr/local/lib/R/site-library/Rcpp/include' -I'/usr/lib/R/site-library/RcppArmadillo/include' -fopenmp -fpic -g -O2 -ffile-prefix-map=/build/r-base-avGvPq/r-base-4.4.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c RcppExports.cpp -o RcppExports.o In file included from /usr/local/lib/R/site-library/Rcpp/include/Rcpp/routines.h:26, from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:128, from /usr/lib/R/site-library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25, from /usr/lib/R/site-library/RcppArmadillo/include/RcppArmadillo.h:29, from RcppExports.cpp:4: /usr/local/lib/R/site-library/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function ‘std::streamsize Rcpp::Rstreambuf | Rprintf("%.*s", num, s); | |
---|---|---|
int std::streamsize {aka long int} |
/usr/local/lib/R/site-library/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function ‘std::streamsize Rcpp::Rstreambuf | REprintf("%.*s", num, s); | |
---|---|---|
int std::streamsize {aka long int} |
In file included from /usr/local/lib/R/site-library/Rcpp/include/RcppCommon.h:181,
from /usr/lib/R/site-library/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25,
from /usr/lib/R/site-library/RcppArmadillo/include/RcppArmadillo.h:29,
from RcppExports.cpp:4:
/usr/local/lib/R/site-library/Rcpp/include/Rcpp/print.h: In function ‘void Rcpp::warningcall(SEXP, const 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 ‘dnn’
The downloaded source packages are in ‘/tmp/RtmpskvkID/downloaded_packages’
Best, Shi-ang
— Reply to this email directly, view it on GitHubhttps://github.com/statapps/deepAFT/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AETVLLQTBVRW4VZPMUWZC7DZUYRHBAVCNFSM6AAAAABNS6ZPECVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYDGOBQGE3DONA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi there,
Thanks for the nice package!
I encountered a compiling issue when I tried to install the package (version 0.0.6). My R version is 4.4.1 and g++ version is 11.4.0. Just wondering if your package is compatible with the latest R version. If not, which version do you suggest for using?
Here is the detailed error message for your reference.
Best, Shi-ang