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