Marc Girondot
2023-Sep-14 14:55 UTC
[R] only install.packages with type="source" will install packages
Dear members, Since #2 weeks I have a problem with install.packages() or update.packages(): It seems to work, I have no error, but when I run again update.packages(), the same package is proposed again. Example: > update.packages() insight : ?Version 0.19.3 installed in /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library ?Version 0.19.5 available at https://cran.irsn.fr Update? (Oui/non/annuler) a cancelled by user > install.packages("insight") essai de l'URL 'https://cran.irsn.fr/bin/macosx/big-sur-arm64/contrib/4.3/insight_0.19.3.tgz' Content type 'application/x-gzip' length 2092645 bytes (2.0 MB) =================================================downloaded 2.0 MB Les packages binaires t?l?charg?s sont dans ?? ?/tmp/RtmpDC1kqM/downloaded_packages > update.packages() insight : ?Version 0.19.3 installed in /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library ?Version 0.19.5 available at https://cran.irsn.fr Update? (Oui/non/annuler) a cancelled by user If I restart R, it gives the same result. My .libPaths() is "normal": [1] "/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library" The solution is to install with type = "source" > install.packages("insight", type="source") essai de l'URL 'https://pbil.univ-lyon1.fr/CRAN/src/contrib/insight_0.19.5.tar.gz' Content type 'application/x-gzip' length 935072 bytes (913 KB) =================================================downloaded 913 KB * installing *source* package ?insight? ... ** package ?insight? correctement d?compress? et sommes MD5 v?rifi?es ** using staged installation ** R ** data ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (insight) Les packages source t?l?charg?s sont dans ?? ??/private/tmp/RtmpA4I8sr/downloaded_packages? Then update.packages() does not return insight package. Have you an idea of what's happened ? Thanks Marc
Ivan Krylov
2023-Sep-14 15:17 UTC
[R] only install.packages with type="source" will install packages
? Thu, 14 Sep 2023 16:55:46 +0200 Marc Girondot via R-help <r-help at r-project.org> ?????:> insight : > ?Version 0.19.3 installed in > /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library > ?Version 0.19.5 available at https://cran.irsn.fr> The solution is to install with type = "source" > > > install.packages("insight", type="source")> Then update.packages() does not return insight package. > > Have you an idea of what's happened ?The binary packages are currently a bit behind on updates. The problem that prevented them from being built has been solved, but now the builds need to catch up with a large backlog: https://stat.ethz.ch/pipermail/r-package-devel/2023q3/009562.html You will stop getting this message when the macOS binary package version 0.19.5 appears instead of the current 0.19.3 at <https://cran.r-project.org/package=insight>. -- Best regards, Ivan
Jeff Newmiller
2023-Sep-14 15:25 UTC
[R] only install.packages with type="source" will install packages
There is/was a discrepancy between versions in source form and in binary form for that package on the CRAN server. (The server that compiles binaries for MacOS has been stuck recently.) You declined (automatically or explicitly) to upgrade from source. This meant you kept an out-of-date binary version in your library when you declined. Updating from source brought you fully up-to-date. This is normal. If you are not dying to stay on the bleeding edge, ignore the source-binary discrepancy that leaves you a bit behind... the binary on CRAN will eventually get updated. On September 14, 2023 7:55:46 AM PDT, Marc Girondot via R-help <r-help at r-project.org> wrote:>Dear members, > >Since #2 weeks I have a problem with install.packages() or update.packages(): > >It seems to work, I have no error, but when I run again update.packages(), the same package is proposed again. > >Example: > >> update.packages() >insight : >?Version 0.19.3 installed in /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library >?Version 0.19.5 available at https://cran.irsn.fr >Update? (Oui/non/annuler) a >cancelled by user >> install.packages("insight") >essai de l'URL 'https://cran.irsn.fr/bin/macosx/big-sur-arm64/contrib/4.3/insight_0.19.3.tgz' >Content type 'application/x-gzip' length 2092645 bytes (2.0 MB) >=================================================>downloaded 2.0 MB >Les packages binaires t?l?charg?s sont dans >?? ?/tmp/RtmpDC1kqM/downloaded_packages >> update.packages() >insight : >?Version 0.19.3 installed in /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library >?Version 0.19.5 available at https://cran.irsn.fr >Update? (Oui/non/annuler) a >cancelled by user > >If I restart R, it gives the same result. > >My .libPaths() is "normal": >[1] "/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library" > >The solution is to install with type = "source" > >> install.packages("insight", type="source") >essai de l'URL 'https://pbil.univ-lyon1.fr/CRAN/src/contrib/insight_0.19.5.tar.gz' >Content type 'application/x-gzip' length 935072 bytes (913 KB) >=================================================>downloaded 913 KB > >* installing *source* package ?insight? ... >** package ?insight? correctement d?compress? et sommes MD5 v?rifi?es >** using staged installation >** R >** data >** inst >** byte-compile and prepare package for lazy loading >** help >*** installing help indices >*** copying figures >** building package indices >** installing vignettes >** testing if installed package can be loaded from temporary location >** testing if installed package can be loaded from final location >** testing if installed package keeps a record of temporary installation path >* DONE (insight) > >Les packages source t?l?charg?s sont dans >?? ??/private/tmp/RtmpA4I8sr/downloaded_packages? > >Then update.packages() does not return insight package. > >Have you an idea of what's happened ? > >Thanks > >Marc > >______________________________________________ >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code.-- Sent from my phone. Please excuse my brevity.