knitr::opts_chunk$set( comment = "#>", collapse = TRUE, warning = FALSE, message = FALSE )
catfact
package
Get a random cat fact from the Cat Fact API https://catfact.ninja/
Package to demonstrate using vcr for unit test caching in an R package that uses httr.
vcr was originally built with support only for the crul package - but now also supports httr. Support for curl is in the works.
remotes::install_github("sckott/catfact")
library(catfact)
cat_fact()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.