tests/testthat/test-show_cols.R

test_that("show_cols works", {
    expect_silent({
        show_cols(colors_group$rainbow, margin = 14)
        show_cols_brewer(colors_group$brewer)
        show_col(colors_group$banded$`3gauss`)
    })
})

Try the rcolors package in your browser

Any scripts or data that you put into this service are public.

rcolors documentation built on April 23, 2021, 5:07 p.m.