errorMessage: Convert Objects to Detailed Error Message.

View source: R/model_check.R

errorMessageR Documentation

Convert Objects to Detailed Error Message.

Description

Function takes one or multiple objects and converts them to a single error-message. Objects can be output of functions try or checkData.

Usage

errorMessage(...)

Arguments

...

one or multiple objects separated by comma

Value

(characer) string combining information from input-objects

Author(s)

Andre Schuetzenmeister andre.schuetzenmeister@roche.com

Examples

## Not run: 
data(dataEP05A2_1)
dat2 <- dataEP05A2_1[1:16,]
dat2$y <- dat2$y[rep(seq(1,7,2), rep(2,4))] 
errorMessage(try(1/"a"), checkData(y~day/run, dat2))

## End(Not run)

VCA documentation built on May 29, 2024, 1:48 a.m.