clauswilke / colorblindr

An R package to simulate colorblindness on R figures.
MIT License
306 stars 29 forks source link

Failed to install 'colorblindr' from GitHub #18

Closed Magpie007 closed 4 years ago

Magpie007 commented 4 years ago

I successfully installed "cowplot" and "colorspace" as instructed, but failed to install 'colorblindr'. Very disappointed since I have bought the wonderful book "Fundamentals of Data Visualization" but am unable to produce same graphs. Error message is as below. Your help is needed. Thank you.

remotes::install_github("clauswilke/colorblindr") Downloading GitHub repo clauswilke/colorblindr@master Installing 7 packages: shiny, promises, later, httpuv, xtable, sourcetools, fastmap Installing packages into ‘C:/Users/magpie/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) Error: Failed to install 'colorblindr' from GitHub: (converted from warning) unable to access index for repository https://owi.usgs.gov/R/bin/windows/contrib/4.0: cannot open URL 'https://owi.usgs.gov/R/bin/windows/contrib/4.0/PACKAGES'

R version 4.0.0 RStudio version 1.2.5001 colorspace version 1.4-1 cowplot version 1.0.0

Magpie007 commented 4 years ago

After re-installing the older version, "R version 3.6.3", the package "colorblind" was successfully installed.