timlxq
timlxq

Reputation: 41

Installing tidyjson via CRAN or Devtools

I'm trying to install tidyjson. I looked up CRAN itself, and it appears that tidyjson has been removed from CRAN, but archives still exist and two github repositories still exist holding the package (colearendt/tidyjson and sailthru/tidyjson).

However, I'm having issues downloading the package, either using install.packages or devtools::install_github().

install.packages("tidyjson") produces a warning: package ‘tidyjson’ is not available (for R version 3.6.1)

devtools::install_github() produces an error Error: Failed to install 'tidyjson' from GitHub: (converted from warning) cannot remove prior installation of package ‘rlang’. I get the same error regardless of which of the two repositories I download from.

In neither case does library(tidyjson) then load the package - it is stated not to exist.

Upvotes: 2

Views: 142

Answers (1)

timlxq
timlxq

Reputation: 41

Managed to solve this problem by uninstalling and reinstalling rlang through CRAN - the error then occurred for digest. Once I uninstalled and reinstalled devtools::install_github() worked as expected.

Upvotes: 1

Related Questions