knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of imgpreppr is to make images play nice with blogdown based websites. These functions are for private use only.
You can install the released version of imgpreppr from CRAN with:
install.packages("imgpreppr")
This is a basic example which shows you how to solve a common problem:
library(imgpreppr) ## basic example code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.