R/w.R

Defines functions waive_if_null

#' @keywords internal
waive_if_null <- function(x, to_pxl = FALSE){

  if(base::is.null(x)){

    x <- ggplot2::waiver()

  }

  return(x)

}
kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.