-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't download:HTTP error 404. #13
Comments
Do you have the remotes package installed in R? |
Hi, thanks for your comments :) Looks like remotes is trying to install from the master branch. Unfortunately, there is no 'master' branch, it's 'main'. If you update to the latest version of the {remotes} package, it should find the 'main' branch. See : Alternatively |
@johnmackintosh .. perfect .. that worked. However, something occurred to me after is that I need to make a continuous color gradient, and that could not! :( Rather, I do not now how to convert a 10 color scale to a continuous one (n = 256). Any help would be great! Rock and metal has place in science! ;) |
@barveaditya I can get something to work with the standard 4 colour palettes. library(ggplot2)
library(rockthemes)
df <- data.frame(
x = runif(1000),
y = runif(1000),
z1 = rnorm(1000),
z2 = abs(rnorm(1000)),
temp = c(1:999, by = 1)
)
ggplot(df, aes(x, y)) +
geom_point(aes(colour = temp)) +
scale_colour_gradientn(colours = rock_palette('nodoubt', 256, type = 'continuous'))
|
ggplot(df, aes(x, temp)) +
geom_point(aes(colour = temp)) +
scale_colour_deelite(type = 'continuous') +
theme_minimal()
|
@johnmackintosh oh that does it, than you very much. Thanks for all the help! :) |
closing this one, but need to tweak the individual palettes so #14 awaits |
I love the palettes you have. However, ON doing
remotes::install_github('johnmackintosh/rockthemes')
I keep getting the following:
Error: Failed to install 'unknown package' from GitHub:
HTTP error 404.
No commit found for the ref master
Did you spell the repo owner (
johnmackintosh
) and repo name (rockthemes
) correctly?The text was updated successfully, but these errors were encountered: