Installation fails on R 4.1.2
joelgombin opened this issue · 6 comments
joelgombin commented
I tried installaling {leafem}, both from CRAN and from github, and it fails everytime.
> install.packages("leafem")
Installation du package dans ‘/home/joel/R/x86_64-pc-linux-gnu-library/4.1’
(car ‘lib’ n'est pas spécifié)
essai de l'URL 'https://cloud.r-project.org/src/contrib/leafem_0.1.6.tar.gz'
Content type 'application/x-gzip' length 3203539 bytes (3.1 MB)
==================================================
downloaded 3.1 MB
* installing *source* package ‘leafem’ ...
** package ‘leafem’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
double free or corruption (out)
Aborted (core dumped)
ERROR: lazy loading failed for package ‘leafem’
* removing ‘/home/joel/R/x86_64-pc-linux-gnu-library/4.1/leafem’
The downloaded source packages are in
‘/tmp/RtmpHDKkt5/downloaded_packages’
Message d'avis :
Dans install.packages("leafem") :
installation of package ‘leafem’ had non-zero exit status
Here is the output of sessionInfo
:
R version 4.1.2 (2021-11-01)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.3 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale:
[1] LC_CTYPE=fr_FR.UTF-8 LC_NUMERIC=C
[3] LC_TIME=fr_FR.UTF-8 LC_COLLATE=fr_FR.UTF-8
[5] LC_MONETARY=fr_FR.UTF-8 LC_MESSAGES=fr_FR.UTF-8
[7] LC_PAPER=fr_FR.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.1.2 tools_4.1.2
tim-salabim commented
Yeah, I had the same problem a couple of days ago. I suspect it has to do with conflicting GDAL etc installations. Anyway, sudo apt autoclean
and sudo apt autoremove
solved it for me.
tim-salabim commented
@joelgombin are you still experiencing this?
joelgombin commented
yes, I'm still experiencing it, even after autocleaning and autoremoving...
tim-salabim commented
Is this a leafem only issue or do you also experience this when installing e.g. sf or terra?
joelgombin commented
{sf} and {terra} install just fine.... but now that i've installed them
(and closed Rstudio ?) {leafem} also installs correctly... Weird.
…On Mon, Feb 21, 2022 at 4:23 PM tim-salabim ***@***.***> wrote:
Is this a leafem only issue or do you also experience this when installing
e.g. sf or terra?
—
Reply to this email directly, view it on GitHub
<#51 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOUOD24244LMHQEDJBODBTU4JKI7ANCNFSM5LYGPAKQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
tim-salabim commented
Weird indeed... Glad it works now though