Skip to content
Prev 2464 / 12125 Next

[R-pkg-devel] vignette with third party software

2018-02-26 15:03 GMT+01:00 Dominik Leutnant <leutnant at fh-muenster.de>:
If the size of the Example1.inp file is reasonable, you may include it
under the inst directory and retrieve it as follows in your vignettes:

inp_file <- system.file("Example1.inp", package="swmmr")

Otherwise, you may set knitr::opts_chunk$set(eval=FALSE) in the first
chunk for each vignette, so that your code is not executed and thus it
won't fail.
I?aki