mk_error_fig: Generates 'ggplot' Object with Error Message

View source: R/build_figures.R

mk_error_figR Documentation

Generates ggplot Object with Error Message

Description

Takes a vector of messages and returns a ggplot object with the text in the figure. This can be used in automated figure generation to cascade an error message to the end user.

Usage

mk_error_fig(msgs)

Arguments

msgs

Vector of error messages

Value

ggplot object

Examples

mk_error_fig("This is an error")

nlmixr2rpt documentation built on June 7, 2023, 5:49 p.m.