colorNumeric() only allows users to easily use four of the eight palettes available through {viridisLite}.
This PR allows the other four - turbo, mako, cividis, and rocket.
Slightly selfish PR in that I do like "turbo" for a not totally dreadful rainbow palette! Also I can't see a reason why only four of the eight palettes should be allowed / documented.
Since #897
{leaflet}
uses{viridisLite}
.colorNumeric()
only allows users to easily use four of the eight palettes available through{viridisLite}
.This PR allows the other four - turbo, mako, cividis, and rocket.
Slightly selfish PR in that I do like "turbo" for a not totally dreadful rainbow palette! Also I can't see a reason why only four of the eight palettes should be allowed / documented.
Minimal reproducible example
Created on 2024-07-25 with reprex v2.1.0
PR task list:
devtools::document()
No current tests for different viridisLite palettes, so no tests added.