Learn R Programming

nlmixr2rpt (version 0.2.2)

mk_error_tab: Generates a flextable Object with Error Message

Description

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

Usage

mk_error_tab(msgs)

Value

list with a single flextable object

Arguments

msgs

Vector of error messages

Examples

Run this code
error_tab = mk_error_tab("This is an error")
error_tab$ft[[1]]

Run the code above in your browser using DataLab