CRAN Package Check Results for Package diyar

Last updated on 2020-09-07 10:15:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 9.59 427.88 437.47 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 7.60 311.17 318.77 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 494.95 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 503.17 ERROR
r-devel-windows-ix86+x86_64 0.1.0 16.00 494.00 510.00 ERROR
r-patched-linux-x86_64 0.1.0 9.53 417.09 426.62 OK
r-patched-solaris-x86 0.1.0 488.10 OK
r-release-linux-x86_64 0.1.0 8.24 416.83 425.07 OK
r-release-macos-x86_64 0.1.0 OK
r-release-windows-ix86+x86_64 0.1.0 17.00 409.00 426.00 OK
r-oldrel-macos-x86_64 0.1.0 OK
r-oldrel-windows-ix86+x86_64 0.1.0 10.00 385.00 395.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [189s/204s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > #library(testthat)
     > library(diyar)
     > #testthat::test_dir("tests/testthat")
     > testthat::test_check("diyar")
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 3 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     5 record(s); 5 skipped
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     4 record(s); 4 skipped
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 11 record(s) with a unique ID.
     -- 1. Failure: testing; episode grouping by the hour (@test-episode_group.R#318)
     test_8a$epid_interval not equal to `e_int`.
     Attributes: < Component "start": 'current' is not a POSIXt >
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     5 record(s); 5 skipped
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 7 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 9 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 9 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 11 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 11 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 4 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 4 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 4.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     [1] "epid(0)"
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 2 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 1 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 1 grouped to episodes and 8 left to group.
     Episode or recurrence window 3.
     8 record(s); 1 grouped to episodes and 7 left to group.
     Episode or recurrence window 4.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 5.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 6.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 7.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 8.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 9.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 10.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 10 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 7.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 6 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 2 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 2 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 4 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 4 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 3 skipped and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     7 record(s); 1 grouped to episodes, 1 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 1 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 7.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 3 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 7 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 2 grouped to episodes, 3 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 1 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 3 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 2 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 2 grouped to episodes and 6 left to group.
     Episode or recurrence window 3.
     6 record(s); 2 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 5.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 9 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 9 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     [1] "1 -> 10"
     [1] "10 <- 1"
     [1] "5 ?? NA"
     [1] "NA ?? NA"
     [1] "20 == 20"
     [1] "1 <- -8"
     [1] "20 <- 11"
     [1] "5 == 5"
     [1] "5 -> 10"
     [1] "20 <- 10"
     [1] "1 <- -8" "1 <- -8" "1 <- -8"
     [1] "20 <- 11" "20 <- 11" "20 <- 11"
     [1] "5 == 5" "5 == 5" "5 == 5"
     [1] "5 -> 10" "5 -> 10" "5 -> 10"
     [1] "20 <- 10" "20 <- 10" "20 <- 10"
     [1] "20 <- 10" "NA ?? NA"
    
     Group criteria 1 - `cri_1`
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 0 assigned to record groups and 7 left to group.
     Group criteria 2 - `cri_2`
     7 records(s): 5 assigned to record groups and 2 left to group.
     Record grouping complete: 2 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     Matching criteria 2: iteration 4
     Matching criteria 2: iteration 5
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     Matching criteria 1: iteration 2
     Matching criteria 1: iteration 3
     Matching criteria 1: iteration 4
     Matching criteria 1: iteration 5
     Matching criteria 1: iteration 6
     Matching criteria 1: iteration 7
     Matching criteria 1: iteration 8
     15 records(s): 13 assigned to record groups and 2 left to group.
     Record grouping complete: 2 record(s) with a unique ID.
    
     Group criteria 1 - `dmvr_d1`
     Matching criteria 1: iteration 2
     Matching criteria 1: iteration 3
     Matching criteria 1: iteration 4
     Matching criteria 1: iteration 5
     Matching criteria 1: iteration 6
     Matching criteria 1: iteration 7
     Matching criteria 1: iteration 8
     Matching criteria 1: iteration 9
     Matching criteria 1: iteration 10
     Matching criteria 1: iteration 11
     Matching criteria 1: iteration 12
     Matching criteria 1: iteration 13
     Matching criteria 1: iteration 14
     Matching criteria 1: iteration 15
     15 records(s): 14 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
     [1] "P.1 (CRI 01)" "P.2 (CRI 01)" "P.2 (CRI 01)" "P.2 (CRI 01)" "P.1 (CRI 01)"
     [6] "P.2 (CRI 01)" "P.1 (CRI 01)" "P.1 (CRI 01)" "P.9 (CRI 01)" "P.9 (CRI 01)"
     [11] "P.1 (CRI 01)"
     [1] "pid(0)"
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
     == testthat results ===========================================================
     [ OK: 516 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 1 ]
     1. Failure: testing; episode grouping by the hour (@test-episode_group.R#318)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [135s/191s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > #library(testthat)
     > library(diyar)
     > #testthat::test_dir("tests/testthat")
     > testthat::test_check("diyar")
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 3 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     5 record(s); 5 skipped
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     4 record(s); 4 skipped
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 11 record(s) with a unique ID.
     ── 1. Failure: testing; episode grouping by the hour (@test-episode_group.R#318)
     test_8a$epid_interval not equal to `e_int`.
     Attributes: < Component "start": 'current' is not a POSIXt >
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     5 record(s); 5 skipped
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 7 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 9 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 9 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 11 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 11 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 4 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 4 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 4.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     [1] "epid(0)"
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 2 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 1 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 1 grouped to episodes and 8 left to group.
     Episode or recurrence window 3.
     8 record(s); 1 grouped to episodes and 7 left to group.
     Episode or recurrence window 4.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 5.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 6.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 7.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 8.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 9.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 10.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 10 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 7.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 6 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 2 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 2 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 4 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 4 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 3 skipped and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     7 record(s); 1 grouped to episodes, 1 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 1 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 7.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 3 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 7 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 2 grouped to episodes, 3 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 1 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 3 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 2 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 2 grouped to episodes and 6 left to group.
     Episode or recurrence window 3.
     6 record(s); 2 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 5.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 9 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 9 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     [1] "1 -> 10"
     [1] "10 <- 1"
     [1] "5 ?? NA"
     [1] "NA ?? NA"
     [1] "20 == 20"
     [1] "1 <- -8"
     [1] "20 <- 11"
     [1] "5 == 5"
     [1] "5 -> 10"
     [1] "20 <- 10"
     [1] "1 <- -8" "1 <- -8" "1 <- -8"
     [1] "20 <- 11" "20 <- 11" "20 <- 11"
     [1] "5 == 5" "5 == 5" "5 == 5"
     [1] "5 -> 10" "5 -> 10" "5 -> 10"
     [1] "20 <- 10" "20 <- 10" "20 <- 10"
     [1] "20 <- 10" "NA ?? NA"
    
     Group criteria 1 - `cri_1`
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 0 assigned to record groups and 7 left to group.
     Group criteria 2 - `cri_2`
     7 records(s): 5 assigned to record groups and 2 left to group.
     Record grouping complete: 2 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     Matching criteria 2: iteration 4
     Matching criteria 2: iteration 5
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     Matching criteria 1: iteration 2
     Matching criteria 1: iteration 3
     Matching criteria 1: iteration 4
     Matching criteria 1: iteration 5
     Matching criteria 1: iteration 6
     Matching criteria 1: iteration 7
     Matching criteria 1: iteration 8
     15 records(s): 13 assigned to record groups and 2 left to group.
     Record grouping complete: 2 record(s) with a unique ID.
    
     Group criteria 1 - `dmvr_d1`
     Matching criteria 1: iteration 2
     Matching criteria 1: iteration 3
     Matching criteria 1: iteration 4
     Matching criteria 1: iteration 5
     Matching criteria 1: iteration 6
     Matching criteria 1: iteration 7
     Matching criteria 1: iteration 8
     Matching criteria 1: iteration 9
     Matching criteria 1: iteration 10
     Matching criteria 1: iteration 11
     Matching criteria 1: iteration 12
     Matching criteria 1: iteration 13
     Matching criteria 1: iteration 14
     Matching criteria 1: iteration 15
     15 records(s): 14 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
     [1] "P.1 (CRI 01)" "P.2 (CRI 01)" "P.2 (CRI 01)" "P.2 (CRI 01)" "P.1 (CRI 01)"
     [6] "P.2 (CRI 01)" "P.1 (CRI 01)" "P.1 (CRI 01)" "P.9 (CRI 01)" "P.9 (CRI 01)"
     [11] "P.1 (CRI 01)"
     [1] "pid(0)"
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 516 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 1 ]
     1. Failure: testing; episode grouping by the hour (@test-episode_group.R#318)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [204s/249s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > #library(testthat)
     > library(diyar)
     > #testthat::test_dir("tests/testthat")
     > testthat::test_check("diyar")
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 3 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     5 record(s); 5 skipped
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     4 record(s); 4 skipped
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 11 record(s) with a unique ID.
     ── 1. Failure: testing; episode grouping by the hour (@test-episode_group.R#318)
     test_8a$epid_interval not equal to `e_int`.
     Attributes: < Component "start": 'current' is not a POSIXt >
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     5 record(s); 5 skipped
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 7 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 9 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 9 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 11 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 11 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 4 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 4 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 4.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     [1] "epid(0)"
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 2 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 1 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 1 grouped to episodes and 8 left to group.
     Episode or recurrence window 3.
     8 record(s); 1 grouped to episodes and 7 left to group.
     Episode or recurrence window 4.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 5.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 6.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 7.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 8.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 9.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 10.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 10 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 7.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 6 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 2 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 2 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 4 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 4 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 3 skipped and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     7 record(s); 1 grouped to episodes, 1 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 1 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 7.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 3 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 7 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 2 grouped to episodes, 3 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 1 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 3 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 2 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 2 grouped to episodes and 6 left to group.
     Episode or recurrence window 3.
     6 record(s); 2 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 5.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 9 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 9 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     [1] "1 -> 10"
     [1] "10 <- 1"
     [1] "5 ?? NA"
     [1] "NA ?? NA"
     [1] "20 == 20"
     [1] "1 <- -8"
     [1] "20 <- 11"
     [1] "5 == 5"
     [1] "5 -> 10"
     [1] "20 <- 10"
     [1] "1 <- -8" "1 <- -8" "1 <- -8"
     [1] "20 <- 11" "20 <- 11" "20 <- 11"
     [1] "5 == 5" "5 == 5" "5 == 5"
     [1] "5 -> 10" "5 -> 10" "5 -> 10"
     [1] "20 <- 10" "20 <- 10" "20 <- 10"
     [1] "20 <- 10" "NA ?? NA"
    
     Group criteria 1 - `cri_1`
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 0 assigned to record groups and 7 left to group.
     Group criteria 2 - `cri_2`
     7 records(s): 5 assigned to record groups and 2 left to group.
     Record grouping complete: 2 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     Matching criteria 2: iteration 4
     Matching criteria 2: iteration 5
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     Matching criteria 1: iteration 2
     Matching criteria 1: iteration 3
     Matching criteria 1: iteration 4
     Matching criteria 1: iteration 5
     Matching criteria 1: iteration 6
     Matching criteria 1: iteration 7
     Matching criteria 1: iteration 8
     15 records(s): 13 assigned to record groups and 2 left to group.
     Record grouping complete: 2 record(s) with a unique ID.
    
     Group criteria 1 - `dmvr_d1`
     Matching criteria 1: iteration 2
     Matching criteria 1: iteration 3
     Matching criteria 1: iteration 4
     Matching criteria 1: iteration 5
     Matching criteria 1: iteration 6
     Matching criteria 1: iteration 7
     Matching criteria 1: iteration 8
     Matching criteria 1: iteration 9
     Matching criteria 1: iteration 10
     Matching criteria 1: iteration 11
     Matching criteria 1: iteration 12
     Matching criteria 1: iteration 13
     Matching criteria 1: iteration 14
     Matching criteria 1: iteration 15
     15 records(s): 14 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
     [1] "P.1 (CRI 01)" "P.2 (CRI 01)" "P.2 (CRI 01)" "P.2 (CRI 01)" "P.1 (CRI 01)"
     [6] "P.2 (CRI 01)" "P.1 (CRI 01)" "P.1 (CRI 01)" "P.9 (CRI 01)" "P.9 (CRI 01)"
     [11] "P.1 (CRI 01)"
     [1] "pid(0)"
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 516 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 1 ]
     1. Failure: testing; episode grouping by the hour (@test-episode_group.R#318)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [212s/274s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > #library(testthat)
     > library(diyar)
     > #testthat::test_dir("tests/testthat")
     > testthat::test_check("diyar")
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 3 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     5 record(s); 5 skipped
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     4 record(s); 4 skipped
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 11 record(s) with a unique ID.
     ── 1. Failure: testing; episode grouping by the hour (@test-episode_group.R#318)
     test_8a$epid_interval not equal to `e_int`.
     Attributes: < Component "start": 'current' is not a POSIXt >
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     5 record(s); 5 skipped
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 7 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 9 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 9 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 11 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 11 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 4 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 4 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 4.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     [1] "epid(0)"
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 2 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 1 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 1 grouped to episodes and 8 left to group.
     Episode or recurrence window 3.
     8 record(s); 1 grouped to episodes and 7 left to group.
     Episode or recurrence window 4.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 5.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 6.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 7.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 8.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 9.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 10.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 10 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 7.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 6 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 2 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 2 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 4 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 4 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 3 skipped and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     7 record(s); 1 grouped to episodes, 1 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 1 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 7.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 3 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 7 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 2 grouped to episodes, 3 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 1 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 3 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 2 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 2 grouped to episodes and 6 left to group.
     Episode or recurrence window 3.
     6 record(s); 2 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 5.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 9 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 9 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     [1] "1 -> 10"
     [1] "10 <- 1"
     [1] "5 ?? NA"
     [1] "NA ?? NA"
     [1] "20 == 20"
     [1] "1 <- -8"
     [1] "20 <- 11"
     [1] "5 == 5"
     [1] "5 -> 10"
     [1] "20 <- 10"
     [1] "1 <- -8" "1 <- -8" "1 <- -8"
     [1] "20 <- 11" "20 <- 11" "20 <- 11"
     [1] "5 == 5" "5 == 5" "5 == 5"
     [1] "5 -> 10" "5 -> 10" "5 -> 10"
     [1] "20 <- 10" "20 <- 10" "20 <- 10"
     [1] "20 <- 10" "NA ?? NA"
    
     Group criteria 1 - `cri_1`
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 0 assigned to record groups and 7 left to group.
     Group criteria 2 - `cri_2`
     7 records(s): 5 assigned to record groups and 2 left to group.
     Record grouping complete: 2 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     Matching criteria 2: iteration 4
     Matching criteria 2: iteration 5
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     Matching criteria 1: iteration 2
     Matching criteria 1: iteration 3
     Matching criteria 1: iteration 4
     Matching criteria 1: iteration 5
     Matching criteria 1: iteration 6
     Matching criteria 1: iteration 7
     Matching criteria 1: iteration 8
     15 records(s): 13 assigned to record groups and 2 left to group.
     Record grouping complete: 2 record(s) with a unique ID.
    
     Group criteria 1 - `dmvr_d1`
     Matching criteria 1: iteration 2
     Matching criteria 1: iteration 3
     Matching criteria 1: iteration 4
     Matching criteria 1: iteration 5
     Matching criteria 1: iteration 6
     Matching criteria 1: iteration 7
     Matching criteria 1: iteration 8
     Matching criteria 1: iteration 9
     Matching criteria 1: iteration 10
     Matching criteria 1: iteration 11
     Matching criteria 1: iteration 12
     Matching criteria 1: iteration 13
     Matching criteria 1: iteration 14
     Matching criteria 1: iteration 15
     15 records(s): 14 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
     [1] "P.1 (CRI 01)" "P.2 (CRI 01)" "P.2 (CRI 01)" "P.2 (CRI 01)" "P.1 (CRI 01)"
     [6] "P.2 (CRI 01)" "P.1 (CRI 01)" "P.1 (CRI 01)" "P.9 (CRI 01)" "P.9 (CRI 01)"
     [11] "P.1 (CRI 01)"
     [1] "pid(0)"
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 516 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 1 ]
     1. Failure: testing; episode grouping by the hour (@test-episode_group.R#318)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [212s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > #library(testthat)
     > library(diyar)
     > #testthat::test_dir("tests/testthat")
     > testthat::test_check("diyar")
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 3 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     5 record(s); 5 skipped
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     4 record(s); 4 skipped
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode grouping complete: 11 record(s) with a unique ID.
     -- 1. Failure: testing; episode grouping by the hour (@test-episode_group.R#318)
     test_8a$epid_interval not equal to `e_int`.
     Attributes: < Component "start": 'current' is not a POSIXt >
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     5 record(s); 5 skipped
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 7 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 9 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     9 record(s); 9 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 11 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 11 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 2 grouped to episodes and 5 left to group.
     Episode or recurrence window 4.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 4 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 4 grouped to episodes and 7 left to group.
     Episode or recurrence window 2.
     7 record(s); 3 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 2 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 2 grouped to episodes and 7 left to group.
     Episode or recurrence window 3.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 4.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 5.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 3 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     8 record(s); 3 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 4.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     [1] "epid(0)"
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 2 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     6 record(s); 3 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 1 grouped to episodes and 9 left to group.
     Episode or recurrence window 2.
     9 record(s); 1 grouped to episodes and 8 left to group.
     Episode or recurrence window 3.
     8 record(s); 1 grouped to episodes and 7 left to group.
     Episode or recurrence window 4.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 5.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 6.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 7.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 8.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 9.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 10.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 10 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 4 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 7.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 6 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 2 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 2 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 1 skipped and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 3 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 4 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 4 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 3 skipped and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     7 record(s); 1 grouped to episodes, 1 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 3.
     4 record(s); 1 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     7 record(s); 1 grouped to episodes and 6 left to group.
     Episode or recurrence window 2.
     6 record(s); 1 grouped to episodes and 5 left to group.
     Episode or recurrence window 3.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 5.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 6.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 7.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 2 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes, 1 skipped and 3 left to group.
     Episode or recurrence window 2.
     3 record(s); 3 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 1 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 2 grouped to episodes, 1 skipped and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 3 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 3.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     5 record(s); 3 grouped to episodes and 2 left to group.
     Episode or recurrence window 2.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 3 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 1 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 1 grouped to episodes and 2 left to group.
     Episode or recurrence window 4.
     2 record(s); 1 grouped to episodes and 1 left to group.
     Episode or recurrence window 5.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 7 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 2 grouped to episodes, 3 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 5 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 3 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 3 grouped to episodes, 2 skipped and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes, 1 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 3 grouped to episodes, 1 skipped and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes, 2 skipped and 0 left to group.
    
     Episode grouping complete: 4 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 2 grouped to episodes and 8 left to group.
     Episode or recurrence window 2.
     8 record(s); 2 grouped to episodes and 6 left to group.
     Episode or recurrence window 3.
     6 record(s); 2 grouped to episodes and 4 left to group.
     Episode or recurrence window 4.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 5.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 4 grouped to episodes, 2 skipped and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 2 grouped to episodes and 2 left to group.
     Episode or recurrence window 3.
     2 record(s); 2 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 2 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 5 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 2 grouped to episodes and 3 left to group.
     Episode or recurrence window 3.
     3 record(s); 2 grouped to episodes and 1 left to group.
     Episode or recurrence window 4.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 9 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 9 grouped to episodes and 1 left to group.
     Episode or recurrence window 2.
     1 record(s); 1 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 1 record(s) with a unique ID.
     Episode or recurrence window 1.
     10 record(s); 6 grouped to episodes and 4 left to group.
     Episode or recurrence window 2.
     4 record(s); 4 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     [1] "1 -> 10"
     [1] "10 <- 1"
     [1] "5 ?? NA"
     [1] "NA ?? NA"
     [1] "20 == 20"
     [1] "1 <- -8"
     [1] "20 <- 11"
     [1] "5 == 5"
     [1] "5 -> 10"
     [1] "20 <- 10"
     [1] "1 <- -8" "1 <- -8" "1 <- -8"
     [1] "20 <- 11" "20 <- 11" "20 <- 11"
     [1] "5 == 5" "5 == 5" "5 == 5"
     [1] "5 -> 10" "5 -> 10" "5 -> 10"
     [1] "20 <- 10" "20 <- 10" "20 <- 10"
     [1] "20 <- 10" "NA ?? NA"
    
     Group criteria 1 - `cri_1`
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 0 assigned to record groups and 7 left to group.
     Group criteria 2 - `cri_2`
     7 records(s): 5 assigned to record groups and 2 left to group.
     Record grouping complete: 2 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     Matching criteria 2: iteration 4
     Matching criteria 2: iteration 5
     5 records(s): 2 assigned to record groups and 3 left to group.
     Record grouping complete: 3 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     7 records(s): 2 assigned to record groups and 5 left to group.
     Group criteria 2 - `cri_2`
     Matching criteria 2: iteration 2
     Matching criteria 2: iteration 3
     5 records(s): 4 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `cri_1`
     Matching criteria 1: iteration 2
     Matching criteria 1: iteration 3
     Matching criteria 1: iteration 4
     Matching criteria 1: iteration 5
     Matching criteria 1: iteration 6
     Matching criteria 1: iteration 7
     Matching criteria 1: iteration 8
     15 records(s): 13 assigned to record groups and 2 left to group.
     Record grouping complete: 2 record(s) with a unique ID.
    
     Group criteria 1 - `dmvr_d1`
     Matching criteria 1: iteration 2
     Matching criteria 1: iteration 3
     Matching criteria 1: iteration 4
     Matching criteria 1: iteration 5
     Matching criteria 1: iteration 6
     Matching criteria 1: iteration 7
     Matching criteria 1: iteration 8
     Matching criteria 1: iteration 9
     Matching criteria 1: iteration 10
     Matching criteria 1: iteration 11
     Matching criteria 1: iteration 12
     Matching criteria 1: iteration 13
     Matching criteria 1: iteration 14
     Matching criteria 1: iteration 15
     15 records(s): 14 assigned to record groups and 1 left to group.
     Record grouping complete: 1 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
     [1] "P.1 (CRI 01)" "P.2 (CRI 01)" "P.2 (CRI 01)" "P.2 (CRI 01)" "P.1 (CRI 01)"
     [6] "P.2 (CRI 01)" "P.1 (CRI 01)" "P.1 (CRI 01)" "P.9 (CRI 01)" "P.9 (CRI 01)"
     [11] "P.1 (CRI 01)"
     [1] "pid(0)"
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
     Episode or recurrence window 1.
     11 record(s); 6 grouped to episodes and 5 left to group.
     Episode or recurrence window 2.
     5 record(s); 5 grouped to episodes and 0 left to group.
    
     Episode grouping complete: 0 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
    
     Group criteria 1 - `infection`
     11 records(s): 11 assigned to record groups and 0 left to group.
     Record grouping complete: 0 record(s) with a unique ID.
     == testthat results ===========================================================
     [ OK: 516 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 1 ]
     1. Failure: testing; episode grouping by the hour (@test-episode_group.R#318)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64