ITADN

Unable to install the latest version of cpp11

#461Closedpriyapatel1 创建于 2025-05-21
P
priyapatel1commented
I've been trying to install cpp11 so that I can use lubridate. However, I keep getting the following issue: ```r > install.packages('lubridate') Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) Warning: dependency ‘cpp11’ is not available also installing the dependency ‘timechange’ trying URL 'https://cloud.r-project.org/src/contrib/timechange_0.3.0.tar.gz' Content type 'application/x-gzip' length 103439 bytes (101 KB) ================================================== downloaded 101 KB trying URL 'https://cloud.r-project.org/src/contrib/lubridate_1.9.4.tar.gz' Content type 'application/x-gzip' length 429341 bytes (419 KB) ================================================== downloaded 419 KB * installing *source* package ‘timechange’ ... ** package ‘timechange’ successfully unpacked and MD5 sums checked ** using staged installation ** libs Error: package ‘cpp11’ 0.1.0 was found, but >= 0.2.7 is required by ‘timechange’ * removing ‘/usr/local/lib/R/site-library/timechange’ ERROR: dependency ‘timechange’ is not available for package ‘lubridate’ * removing ‘/usr/local/lib/R/site-library/lubridate’ The downloaded source packages are in ‘/tmp/RtmpnwAiWt/downloaded_packages’ Warning messages: 1: In install.packages("lubridate") : installation of package ‘timechange’ had non-zero exit status 2: In install.packages("lubridate") : installation of package ‘lubridate’ had non-zero exit status ```
关闭于 2025-05-22 4 条评论