Skip to content

Package R permettant d'encapsuler les modèles de documents pour le projet utilitR

License

Notifications You must be signed in to change notification settings

InseeFrLab/utilitr-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modèle de documents pour le projet utilitR

R build status Exemple output

This package aims to simplify the formatting of utilitR documentation. A series of function to customize rmarkdown output is proposed in this package.

An example website built using this package can be found here

You can use

rmarkdown::draft('index.Rmd', template="utilitr", package="utilitr", edit = FALSE)

or File > new File > R Markdown > FromTemplate > Modèle documentation utilitR (in that case make sure to change the .Rmd filename into index.Rmd) to create a MWE of the output format.

You can either generate a static website or a PDF book using our package:

  • Static website can be generated using bookdown with the following command:
bookdown::render_book("index.Rmd", output_dir = "_public", output_format = "utilitr::html_document")
  • PDF book can be generated using our pdf_document function that uses pagedown package under the hood:
utilitr::pdf_document()

About

Package R permettant d'encapsuler les modèles de documents pour le projet utilitR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published