test.file: test file

Description Usage Arguments Author(s) See Also

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

1
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


inlinedocs documentation built on May 2, 2019, 4:44 p.m.