assertIsFillScaleContinuousOrNULL: Assert Is Fill Palette Scale Continuous or NULL

Description Usage Arguments Value Examples

View source: R/assertIsFillScaleContinuousOrNULL.R

Description

Assert Is Fill Palette Scale Continuous or NULL

Usage

1

Arguments

object

Object.

Value

Always stop on error.

Examples

1
2
3
4
fill <- ggplot2::scale_fill_gradient(low = "red", high = "blue")
class(fill)
assertIsFillScaleContinuousOrNULL(fill)
assertIsFillScaleContinuousOrNULL(NULL)

steinbaugh/basejump.assertions documentation built on Nov. 5, 2018, 10:37 p.m.