Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Error while downloading "highcharter" package in r

I am trying to download "highcharter" but got the error below. I also tried installing "rjson" but I got "package ‘rjson’ is not available (for R version 3.6.3)" message


ERROR: dependency 'rjson' is not available for package 'highcharter'
* removing 'C:/Users/elif.gencaslan/Documents/R/win-library/3.6/highcharter'
Warning in install.packages :
  installation of package ‘highcharter’ had non-zero exit status

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

The problem: Outdated R version

The latest version of rjson (0.2.21) depends on R version >= 4.0.0 (see CRAN), and it seems like you have R version 3.6.3.

Best solution: Update R

Your best option is to update your version of R before installing rjson or highcharter.

Alternatives: Install old version of rjson

An alternative is to install an older version of rjson (0.2.20 should work with your version of R).

You can either do this with packages like renv:

renv::install("rjson@0.2.20")

Or remotes:

remotes::install_version("rjson", "0.2.20")

Or you could download it and install it manually from this mran snapshot.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading