ThinkR-open / attachment

Tools to deal with dependencies in scripts, Rmd and packages
https://thinkr-open.github.io/attachment/
Other
108 stars 13 forks source link

Cannot install attachment: Removed from CRAN #64

Closed shoeffner closed 2 years ago

shoeffner commented 2 years ago

I cannot install the current attachment package from CRAN.

$ Rscript -e "install.packages('attachment', repos='http://cran.us.r-project.org')"
Warning message:
package ‘attachment’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

Checking the project page https://cran.r-project.org/package=attachment, it seems the package was removed:

Package ‘attachment’ was removed from the CRAN repository.

Formerly available versions can be obtained from the archive.

Archived on 2022-09-08 as check problems were not corrected in time.

A summary of the most recent check results can be obtained from the check results archive.

Please use the canonical form https://cran.r-project.org/package=attachment to link to this page.

The problem seems to be:

Version: 0.2.5 Check: for unstated dependencies in ‘tests’ Result: WARN Warning: unable to access index for repository https://bioconductor.org/packages/3.14/bioc/src/contrib: cannot open URL 'https://bioconductor.org/packages/3.14/bioc/src/contrib/PACKAGES' Warning: unable to access index for repository https://bioconductor.org/packages/3.14/data/annotation/src/contrib: cannot open URL 'https://bioconductor.org/packages/3.14/data/annotation/src/contrib/PACKAGES' Warning: unable to access index for repository https://bioconductor.org/packages/3.14/data/experiment/src/contrib: cannot open URL 'https://bioconductor.org/packages/3.14/data/experiment/src/contrib/PACKAGES' Flavor: r-oldrel-windows-ix86+x86_64

statnmap commented 2 years ago

I do not know why the package was removed.
I had until 2022-09-27 to submit a new version.
Also, I sent a new version yesterday, for which I have no answer...

shoeffner commented 2 years ago

Sorry to hear that! I am sure it gets resolved.

In the meantime, the tars are available at https://cran.r-project.org/src/contrib/Archive/attachment, which worked for me as well.

statnmap commented 2 years ago

I would better recommend to use the r-universe. You can add this in your Rprofile, or just before installing your packages, and it will be good. You will even have the last version, still not on CRAN

options(repos = c(
  thinkropen = 'https://thinkr-open.r-universe.dev',
  CRAN = 'https://cloud.r-project.org'))
statnmap commented 2 years ago

Back to CRAN