-
Notifications
You must be signed in to change notification settings - Fork 7
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
Package ‘assertive’ was removed from the CRAN repository. Causes nmecr installation to fail. #27
Comments
I also encountered this error on 12/28/2023. |
Has anyone had a chance to look into this yet? The assertive package is still removed from cran, so I suspect it is not coming back. |
Thanks for bringing this to our attention. In the future we will remove dependence on the Assertive package, but for now, please install the package and it's dependencies from archive using the following lines of code in RStudio:
|
Thank you for the update.
…On Wed, Jan 31, 2024 at 3:20 PM Maggie Jacoby ***@***.***> wrote:
Thanks for bringing this to our attention. In the future we will remove
dependence on the Assertive package, but for now, please install the
package and it's dependencies from archive using the following lines of
code in RStudio:
1. Install assertive package dependencies from cran:
packages <- c('assertive.base', 'assertive.numbers', 'assertive.files', 'assertive.matrices', 'assertive.models', 'assertive.reflection')
new.packages <- packages[!(packages %in% installed.packages()[,"Package"])]
if(length(new.packages)) install.packages(new.packages)
lapply(packages, require, character.only = TRUE)
1. Manually install assertive package dependencies from archive:
install.packages("https://cran.r-project.org/src/contrib/Archive/assertive.properties/assertive.properties_0.0-5.tar.gz", repos=NULL, type="source")
install.packages("https://cran.r-project.org/src/contrib/Archive/assertive.types/assertive.types_0.0-3.tar.gz", repos=NULL, type="source")
install.packages("https://cran.r-project.org/src/contrib/Archive/assertive.strings/assertive.strings_0.0-3.tar.gz", repos=NULL, type="source")
install.packages("https://cran.r-project.org/src/contrib/Archive/assertive.datetimes/assertive.datetimes_0.0-3.tar.gz", repos=NULL, type="source")
install.packages("https://cran.r-project.org/src/contrib/Archive/assertive.data/assertive.data_0.0-3.tar.gz", repos=NULL, type="source")
install.packages("https://cran.r-project.org/src/contrib/Archive/assertive.data.uk/assertive.data.uk_0.0-2.tar.gz", repos=NULL, type="source")
install.packages("https://cran.r-project.org/src/contrib/Archive/assertive.code/assertive.code_0.0-4.tar.gz", repos=NULL, type="source")
install.packages("https://cran.r-project.org/src/contrib/Archive/assertive.data.us/assertive.data.us_0.0-2.tar.gz", repos=NULL, type="source")
install.packages("assertive.sets")
1. Install assertive package:
install.packages("
https://cran.r-project.org/src/contrib/Archive/assertive/assertive_0.3-6.tar.gz",
repos=NULL, type="source")
—
Reply to this email directly, view it on GitHub
<#27 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHTNA5PKFGTG4UVQFXXWV3YRKYQBAVCNFSM6AAAAAA6ZVLLXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJZHE4DONZXGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Greg Anderson
Director of Data Science
Gridium
|
Looks like assertive.reflection has also since been archived (March 1st) |
@grickit you are correct, thanks for pointing this out. You can add that package from the archive, like the other archived packages, using this line.
For anyone attempting an install of nmecr from scratch, this update of the code written by @mhsjacoby works as of 2024-03-14. Step 1:
Step 2:
Step 3:
|
Update to earlier fix: the assertive package and all of its dependencies have been archived as of 4/12/24. Earlier code suggested in this thread will no longer work. Copy, paste, and execute the below code in the R console to install assertive.
I am working on removing our dependence on the assertive package and will update this issue when an update is pushed. |
This issue has been resolved with the release of nmecr v1.0.17. There should be no remaining dependencies on any assertive packages. Please update nmecr to the latest version and let us know if you encounter any errors. Thanks everyone who pointed this out to us for your engagement with nmecr! Thanks @k-wolfe99 for your interim and final fixes. To update to the latest version, run these two lines: |
Describe the bug
Installation of nmecr on a new machine fails with message:
ERROR: dependency ‘assertive’ is not available for package ‘nmecr’
See: https://cran.r-project.org/web/packages/assertive/index.html
Archived on 2023-10-24 as requires archived package 'assertive.properties'
To Reproduce
On a clean machine without a prior installation of R (to ensure assertive package is not present from an earlier installation", install nmecr according to directions:
install.packages("devtools")
devtools::install_github("kW-Labs/nmecr", upgrade = "never")
Expected behavior
Expect successful installation.
Desktop (please complete the following information):
Additional context
Able to complete installation by manually installing archived version of "assertive" and its dependencies from the archive. Screenshot of successful installation below:
The text was updated successfully, but these errors were encountered: