# NOT RUN {
cat("---",
"title: \"Help Documentation\"",
"output:",
" html_document:",
" toc: true",
" toc_float: true",
"---",
sep = "\n", file = "test-help.Rmd")
PrintPackageHelp("inlmisc", file = "test-help.Rmd", toc = TRUE,
title_to_name = TRUE, notrun = FALSE)
rmarkdown::render("test-help.Rmd")
url <- file.path("file:/", getwd(), "test-help.html")
utils::browseURL(url)
file.remove("test-help.Rmd", "test-help.html")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab