Running examples in 'hetu-Ex.R' failed
The error most likely occurred in:

> ### Name: hetu_diagnostic
> ### Title: Diagnostics Tool for HETU
> ### Aliases: hetu_diagnostic pin_diagnostic
> 
> ### ** Examples
> 
> diagnosis_example <- c("010101-0102", "111111-111Q", 
+ "010101B0101", "320101-0101", "011301-0101", 
+ "010101-01010", "010101-0011")
> ## Print all diagnoses
> hetu_diagnostic(diagnosis_example)
          hetu is.temp valid.p.num valid.checksum correct.checksum valid.date
1  010101-0102   FALSE        TRUE           TRUE            FALSE       TRUE
2  111111-111Q   FALSE        TRUE          FALSE            FALSE       TRUE
3  010101B0101   FALSE        TRUE           TRUE             TRUE      FALSE
4  320101-0101   FALSE        TRUE           TRUE             TRUE      FALSE
5  011301-0101   FALSE        TRUE           TRUE            FALSE      FALSE
6 010101-01010   FALSE        TRUE           TRUE             TRUE       TRUE
7  010101-0011   FALSE       FALSE           TRUE            FALSE       TRUE
  valid.day valid.month valid.year valid.length valid.century
1      TRUE        TRUE       TRUE         TRUE          TRUE
2      TRUE        TRUE       TRUE         TRUE          TRUE
3      TRUE        TRUE       TRUE         TRUE         FALSE
4     FALSE        TRUE       TRUE         TRUE          TRUE
5      TRUE       FALSE       TRUE         TRUE          TRUE
6      TRUE        TRUE       TRUE        FALSE          TRUE
7      TRUE        TRUE       TRUE         TRUE          TRUE
> # Extract century-related checks
> hetu_diagnostic(diagnosis_example, extract = "valid.century")
          hetu valid.century
1  010101-0102          TRUE
2  111111-111Q          TRUE
3  010101B0101         FALSE
4  320101-0101          TRUE
5  011301-0101          TRUE
6 010101-01010          TRUE
7  010101-0011          TRUE
> # Extract only rows where invalid.checksum = TRUE
> hetu_diagnostic(diagnosis_example, subsetting = TRUE, extract = "valid.checksum") 
Error in loadNamespace(x) : there is no package called 'dplyr'
Calls: hetu_diagnostic ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted