-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not install devtools in R4.4.1 #2567
Comments
I can.
So you're going to need to provide more detail. |
here is the error x86_64-conda-linux-gnu-ar rcs agg/libstatagg.a agg/src/agg_curves.o agg/src/agg_font_freetype.o agg/src/agg_image_filters.o agg/src/agg_trans_affine.o agg/src/agg_vcgen_dash.o agg/src/agg_vcgen_stroke.o
The downloaded source packages are in thanks. |
If you use conda, you need to install all of your packages from conda because they use a different toolchain than CRAN (the official distribution of R and contributed packages).
Does your system have the PNG15 library available? Overall, it sounds like you're (unintentionally?) trying to mix a conda-managed R installation with also installing packages from CRAN / from source, which generally does not go well. |
In R version 4.4.1 (2024-06-14, x86_64-pc-linux-gnu) I had errors during usage and re-install of install.packages("devtools")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/devtools_2.4.5.tar.gz'
Content type 'application/x-gzip' length 374718 bytes (365 KB)
==================================================
downloaded 365 KB
* installing *source* package ‘devtools’ ...
** package ‘devtools’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
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)
Execution halted
ERROR: lazy loading failed for package ‘devtools’
* removing ‘/usr/local/lib/R/site-library/devtools’
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpbYWTeU/downloaded_packages’ I 've launched
And Found when I am trying to play with I have Anaconda but I use normal CRAN installation for R. My post is only to give some others symptoms and tries because for me also "it sounds like you're (unintentionally?) trying to mix a conda-managed R installation with also installing packages from CRAN / from source, which generally does not go well." |
can not install devtools in R4.4.1
The text was updated successfully, but these errors were encountered: