Hemken / SASmarkdown

A collection of R functions that extends knitr's capability for using SAS as a language engine
Other
21 stars 5 forks source link

Return SAS log with errors #3

Closed Hemken closed 7 years ago

Hemken commented 7 years ago

Instead of aborting knitr, just return the log with the error message.

Hemken commented 7 years ago

Requires the user to set the chunk option "error" to TRUE. Then if SAS exits with an error (not all errors do this) the SAS log will show up in the document instead of the SAS source code.