Create a complete example for markdown o bookdown documents
create_rticles( path = NULL, type = c("markdown", "bookdown"), name = "manuscript", project = TRUE, server = c("local", "web") )
path | Directory for create the files. |
---|---|
type | Document type (default = "markdown"). |
name | Name of the main document (default = "manuscript"). |
project | Create a R project (default = TRUE). See details. |
server | How create the dependencies (default = "local"). |
https://github.com/flavjack/rticles
folder and files
Create all the files in the path directory. It is recommended use ".Rproj". After create the project Open the ".Rprj" file. Compile the document and you will see the example. If you already have a folder and select such as "bookdown" is necessary change the main (.rmd) file to index.rmd.