I am developing the R package and have a special function that contains the condition if(condition) stop("Error message") . I call this function in the vignette of the package in order to generate an error message, including the vignette. However, this causes the creation of a vignette to fail.
How can I make the vignette building continue even when the code generates error messages and stores these error messages in the vignette document?
source share