Closed mpadge closed 4 years ago
Great to see the commits rolling in, will merge asap... Hoping this tab goes green!
I see this from the travis log:
https://travis-ci.org/ATFutures/upthat/builds/616678911#L2718
I think colourvalues needs to be added as an import if we use it in the package.
checking dependencies in R code ... WARNING
'::' or ':::' import not declared from: ‘colourvalues’
Good thing we've go CI going to pick up on these!
@mpadge There's also
convert_colour( get_palette ("inferno") )
## or
colour_values( 1:256 )
But I suppose I could add a rgb = FALSE
(or similar) argument into get_palette()
@SymbolixAU - yes, confirmation that your
legend
functions really are very useful and just work outta the box as one would expect. Thanks! My only suggestion would be for your code to be internally compatible with ... well, your code. What is mean is that i would expect to be able to submitstraight to
legend_element
, but instead i have to do therbg
conversion:Awesome stuff as always! :rocket: