Closed IanWorthington closed 2 years ago
{colorspace}
is a dependency (of a dependency) of {ggplot2}
which is a dependency of {ggpattern}
. You need to install it.
From our README:
An installation error is highly unlikely to be an issue with {ggpattern} itself. Please don't open up a Github Issues unless you are sure it is an issue with {ggpattern} itself. If you have an error installing the package we strongly suggest that you look at all your error messages more closely to figure out which package dependency is failing to install and why. See https://thomasadventure.blog/posts/install-r-packages/ for more info on installing R packages.
Hi Trevor. Thanks for this. I did check those notes, but they weren't helpful.
I had assumed you'd like to know that there was a dependency missing.
remotes::install_github("coolbutuseless/ggpattern")
should automatically install all dependencies including dependencies of dependencies like {colorspace}
. Linux users may need to manually install C++ headers but CRAN will pre-compile packages for Windows. Your example isn't a generally reproducible problem. I don't know went wrong on your machine in this instance.
Installing, received:
Error: package or namespace load failed for 'ggpattern' in library.dynam(lib, package, package.lib): DLL 'colorspace' not found: maybe not installed for this architecture? Error: loading failed Execution halted *** arch - x64 ERROR: loading failed for 'i386'
Please enter here a high-level description of your bug.
Minimal, reproducible example
Please enter here a minimal, reproducible example of your bug. Thanks!
Session info
Please enter here the results of
xfun::session_info("ggpattern")