test_envDocument

Rmarkdown file to test envDocument::env_doc()

library(envDocument) # build & reload doesn't automatically knit .rmd files
library(knitr)

Calling env_doc without an output will return a single data frame that can be printed using knitr::kable or other output formatting utilities.

info <- env_doc()

kable(env_doc()) # with git2r installed

# kable(env_doc(git = FALSE)) # without git2r

New option in v2.2: option "table" pretty-prints each section separately. Requires knitr. Specify results = "asis" in knitr chunk options to make sure table is formatted in markdown (no leading ##).

env_doc("table")

End of test



Try the envDocument package in your browser

Any scripts or data that you put into this service are public.

envDocument documentation built on Aug. 20, 2019, 1:03 a.m.