Closed mdscheuerell closed 8 years ago
@mdscheuerell This error was corrected in #31 but not pushed to CRAN yet (I wasn't careful enough when I accepted the PR that introduced this feature in the first place). I'll try to submit the corrected version to CRAN tomorrow. Sorry about this.
@mdscheuerell FYI, the bug fix was pushed to CRAN.
It appears as though the error checking part of
viridis()
is incorrect. That is, thebegin
andend
args both need to lie within [0,1], but this returns an errorWhen I look at the function defn, here's the error check:
The problem is that this test only passes if
begin
orend
are equal to 0 or 1, but not anything in between. I think you need something like