knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
unhcrtemplate
provides a custom pkgdown template for UNHCR packages. Please don't use it for your own package.
Inspired by tidytemplate and rotemplate.
For all sites, ensure that DESCRIPTION
contains:
Config/Needs/website: unhcr-dataviz/unhcrtemplate
and that _pkgdown.yml
contains:
template: package: unhcrtemplate bootstrap: 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.