Displaying 1 result from an estimated 1 matches for "changeyear".
2010 Aug 02
2
Including a text file (JAGS model) in an R package
Hello,
I can`t figure out how to include a text file for use in an example in the .Rd help files of an R package I am writing.
I want the examples section of one help file to look like this:
\examples{
# Load the JAGS model
mod <- jags.model("model.txt")
}
The function jags.model tries to read in the file model.txt. So far every time I run R CMD check, I get an error message: