R: test file

test.file {inlinedocs} | R Documentation

## test file

### Description

Check an R code file with inlinedocs to see if the extract.docs.file parser accurately extracts all the code inside! The code file should contain a variable .result which is the documentation list that you should get when you apply extract.docs.file to the file. We check for identity of elements of elements of the list, so the order of elements should not matter, and thus this should be a good robust unit test.

### Usage

    test.file(f, verbose = TRUE)

### Arguments

`f` | File name of R code file with inlinedocs to parse and check.
`verbose` | Show output?

### Author(s)

Toby Dylan Hocking <toby@sg.cs.titech.ac.jp> [aut, cre], Keith Ponting [aut], Thomas Wutzler [aut], Philippe Grosjean [aut], Markus Müller [aut], R Core Team [ctb, cph]

### See Also

`save.test.result`

[Package inlinedocs version 2013.9.3 Index]