jrnold / ggthemes

Additional themes, scales, and geoms for ggplot2
http://jrnold.github.io/ggthemes/
1.31k stars 229 forks source link

Fix error in tests #123

Closed jrnold closed 3 years ago

jrnold commented 3 years ago

Fix this error that appears in CRAN checks:

     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-canva.R:27:3): scale_color_canva works ────────────────────────
     scale_color_canva() not equal to scale_colour_canva().
     Component "super": Component "...": target is not list-like
     ── Failure (test-colorblind.R:19:3): scale_color_canva works ───────────────────
     scale_color_colorblind() not equal to scale_colour_colorblind().
     Component "super": Component "...": target is not list-like
     ── Failure (test-economist.R:24:3): scale_colour_economist equals scale_color_economist ──
     scale_color_economist() not equal to scale_colour_economist().
     Component "super": Component "...": target is not list-like
     ── Failure (test-few.R:49:3): scale_color_few works ────────────────────────────
     scale_color_few() not equal to scale_colour_few().
     Component "super": Component "...": target is not list-like
     ── Failure (test-gdocs.R:21:3): scale_color_gdocs works ────────────────────────
     scale_color_gdocs() not equal to scale_colour_gdocs().
     Component "super": Component "...": target is not list-like
     ── Failure (test-hc.R:22:3): scale_color_hc works ──────────────────────────────
     scale_colour_hc() not equal to scale_color_hc().
     Component "super": Component "...": target is not list-like
     ── Failure (test-solarized.R:18:3): scale_color_solarized works ────────────────
     scale_colour_solarized() not equal to scale_color_solarized().
     Component "super": Component "...": target is not list-like
     ── Failure (test-stata.R:19:3): scale_color_stata works ────────────────────────
     scale_colour_stata() not equal to scale_color_stata().
     Component "super": Component "...": target is not list-like