nickmckay / LiPD-utilities

Input/output and manipulation utilities for LiPD files in Matlab, R and Python
http://nickmckay.github.io/LiPD-utilities/
GNU General Public License v2.0
29 stars 9 forks source link

R: failure to install lipdR in R v 3.6.2 #52

Closed ebroadman closed 4 years ago

ebroadman commented 4 years ago

When attempting to install lipdR from Github in R v 3.6.2 (MacBook): devtools::install_github("nickmckay/LiPD-Utilities", subdir = "R")

I get the following error: Error: Failed to install 'lipdR' from GitHub: (converted from warning) package ‘Smisc’ is not available (for R version 3.6.2)

gavinsimpson commented 4 years ago

Smisc was removed from CRAN and archived recently (Jan 26th, 2020)

Package ‘Smisc’ was removed from the CRAN repository. Formerly available versions can be obtained from the archive. Archived on 2020-01-26 as check problems were not corrected in time.

You can install any of the versions previously available on CRAN by downloading the tarball for the relevant version from the archive linked above, but this step needs to be done manually first before you try to install lipdR.

nickmckay commented 4 years ago

Thanks Ellie and Gavin,

I'm pretty sure we can just replace the function we use from Smisc, but in the meantime this is a good workaround.

On Thu, Jan 30, 2020, 8:43 AM Gavin Simpson notifications@github.com wrote:

Smisc was removed from CRAN and archived recently (Jan 26th, 2020 https://cran.r-project.org/web/packages/Smisc/index.html)

Package ‘Smisc’ was removed from the CRAN repository. Formerly available versions can be obtained from the archive https://cran.r-project.org/src/contrib/Archive/Smisc/. Archived on 2020-01-26 as check problems were not corrected in time.

You can install any of the versions previously available on CRAN by downloading the tarball for the relevant version from the archive linked above, but this step needs to be done manually first before you try to install lipdR.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nickmckay/LiPD-utilities/issues/52?email_source=notifications&email_token=ACXPOZZD676XGO52G7S6A73RALYQPA5CNFSM4KNX7LDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKLOETQ#issuecomment-580313678, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXPOZYAD334HGVBNQNP4IDRALYQPANCNFSM4KNX7LDA .

ebroadman commented 4 years ago

Nice, thanks to you both.