I don't understand why the following stopifnot does not error out:
> suppressMessages(library(tidyverse))
> print(.packages())
[1] "lubridate" "forcats" "stringr" "dplyr" "purrr" "readr"
[7] "tidyr" "tibble" "ggplot2" "tidyverse" "stats" "graphics"
[13] "grDevices" "utils" "datasets" "methods" "base"
> stopifnot(.packages()==c())
> # The preceding stopifnot should have errored out
%in%in place of==will error out.