Created
September 17, 2019 18:58
-
-
Save bfatemi/a8490fe0d482a724f51c74ce43fbd3a9 to your computer and use it in GitHub Desktop.
generate html page from .Rd file and view it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
site_index_path <- tempfile("index_", fileext = ".html") | |
stopifnot( file.create(site_index_path) ) | |
tools::Rd2HTML( | |
tools::parse_Rd("man/f_add.Rd"), | |
out = site_index_path | |
) | |
rstudioapi::viewer(site_index_path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment