# NOT RUN {
document(file_name = system.file("tests", "files", "minimal.R",
package = "document"), check_package = FALSE)
man("foo")
# this equivalent to
path <- system.file("tests", "files", "minimal.R", package = "document")
document::man(x = path, topic = "foo")
# }
Run the code above in your browser using DataLab