powered by
Renders and Rmarkdown file
create_markdown(target.file = paste0(get("source_info")$file$file, "md"), target.dir = get("source_info")$markdown.dir, style = "html_document", description = "Markdown", si, overwrite = FALSE)
Markdown file to create
Directory to send target file
Markdown target style
Markdown description
source_info object for tracking
overwrite existing R markdown?
File information
Uses rmarkdown library to access objects in the R script. Will track dependencies for objects used within Rmd file.
# NOT RUN { source_info <- create_source_file_dir("adaprHome","tree_controller.R") #Create markdown file in markdown directory for tree_controller.R create_markdown() # } # NOT RUN { # }
Run the code above in your browser using DataLab