---
title: "Compare function"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{Compare function}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

knitr::opts_chunk$set(fig.width = 12, fig.height = 5, out.width = "100%" ) 
```

```{r setup}
library(whatsnew)
library(risk.assessr)
```

```{r}
# set up
options(
  repos = c(CRAN = "http://cran.us.r-project.org")
)
```

```{r}
info_new <- get_info("admiral", "1.2.0")
info_old <- get_info("admiral", "1.1.1")
```


```{r}
funct <- compare_funcs(info_new, info_old)
```

```{r}
funct$added
```
```{r}
funct$removed
```

```{r}
funct$modified
```





