## ----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")
)

## -----------------------------------------------------------------------------
info_new <- get_info("admiral", "1.2.0")
info_old <- get_info("admiral", "1.1.1")

## -----------------------------------------------------------------------------
funct <- compare_funcs(info_new, info_old)

## -----------------------------------------------------------------------------
funct$added

## -----------------------------------------------------------------------------
funct$removed

## -----------------------------------------------------------------------------
funct$modified

