Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6153

Problem with installing devtools and its dependencies (httpuv, later, promises, shiny, miniUI)

$
0
0
  • installing source package ‘later’ ...** package ‘later’ successfully unpacked and MD5 sums checked** using staged installationRunning configure script-latomic linker flag not needed.** libsusing C compiler: ‘gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’using C++ compiler: ‘g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’g++ -std=gnu++17 -I"/usr/share/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I'/usr/local/lib/R/site-library/Rcpp/include' -fpic -g -O2 -ffile-prefix-map=/build/r-base-H8urij/r-base-4.4.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c RcppExports.cpp -o RcppExports.oIn 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/local/lib/R/site-library/Rcpp/include/Rcpp.h:27,from RcppExports.cpp:5:/usr/local/lib/R/site-library/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function ‘std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long int]’:/usr/local/lib/R/site-library/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier ‘.’ expects argument of type ‘int’, but argument 2 has type ‘std::streamsize’ {aka ‘long int’} [-Wformat=]53 | 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::xsputn(const char, std::streamsize) [with bool OUTPUT = false; std::streamsize = long int]’:/usr/local/lib/R/site-library/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier ‘.’ expects argument of type ‘int’, but argument 2 has type ‘std::streamsize’ {aka ‘long int’} [-Wformat=]57 | 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/local/lib/R/site-library/Rcpp/include/Rcpp.h:27,from RcppExports.cpp:5:/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 errorsmake: *** [/usr/lib/R/etc/Makeconf:204: RcppExports.o] Error 1ERROR: compilation failed for package ‘later’
  • removing ‘/usr/local/lib/R/site-library/later’ERROR: dependency ‘later’ is not available for package ‘promises’
  • removing ‘/usr/local/lib/R/site-library/promises’ERROR: dependencies ‘later’, ‘promises’ are not available for package ‘httpuv’
  • removing ‘/usr/local/lib/R/site-library/httpuv’ERROR: dependencies ‘httpuv’, ‘later’, ‘promises’ are not available for package ‘shiny’
  • removing ‘/usr/local/lib/R/site-library/shiny’ERROR: dependency ‘shiny’ is not available for package ‘miniUI’
  • removing ‘/usr/local/lib/R/site-library/miniUI’ERROR: dependency ‘miniUI’ is not available for package ‘devtools’
  • removing ‘/usr/local/lib/R/site-library/devtools’

The downloaded source packages are in‘/tmp/RtmpjQt6r3/downloaded_packages’Warning messages:1: In install.packages("devtools") :installation of package ‘later’ had non-zero exit status2: In install.packages("devtools") :installation of package ‘promises’ had non-zero exit status3: In install.packages("devtools") :installation of package ‘httpuv’ had non-zero exit status4: In install.packages("devtools") :installation of package ‘shiny’ had non-zero exit status5: In install.packages("devtools") :installation of package ‘miniUI’ had non-zero exit status6: In install.packages("devtools") :installation of package ‘devtools’ had non-zero exit status

Any idea how to solve this problem?


Viewing all articles
Browse latest Browse all 6153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>