knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of checker is to check whether the links (including images, CSS, ...) included in your documents are valid.
This is an early draft. Things can change. Only HTML files are currently supported.
You can install checker
with:
remotes::install_github("fmichonneau/checker")
If you generated a website from Rmarkdown in a _site
folder within your working directory, you can run
library(checker) check_links(dir = "_site")
Please note that the checker
project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.