## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

knitr::opts_chunk$set(fig.width = 12, fig.height = 5, out.width = "100%" ) 

## ----setup--------------------------------------------------------------------
library(whatsnew)
library(risk.assessr)

## -----------------------------------------------------------------------------
# set up
options(
  repos = c(CRAN = "http://cran.us.r-project.org")
)

## -----------------------------------------------------------------------------
pkg_diff <- compare("dplyr", "1.1.4", "1.0.9")

## -----------------------------------------------------------------------------
pkg_diff$functions_diff$added

## -----------------------------------------------------------------------------
pkg_diff$functions_diff$removed

## -----------------------------------------------------------------------------
pkg_diff

## -----------------------------------------------------------------------------
pkg_diff$dependencies_diff$dependencies

## -----------------------------------------------------------------------------
pkg_diff$test_m

