Checks the log summary and returns entries where there exists a newer revision of its file or origin.
logPending(directory = getwd())
any directory at or below that containing the log
One always wants to review the latest revision of a file, given the latest revision of its origin. Typically a file is its own origin (e.g. a directly-authored script), in which case it suffices to verify that there is no newer revision. For derived objects, the latest revision of the origin is informative, and is independent of the file revision. Further review is indicated if either the file, its origin, or both have been revised. If a file has changed but not its origin, an explanation is needed. If a file is the same after a change to its origin, confirmation is needed. It is not unusual for both a file and its origin to change.
with_demoRepo({
logPending()
})
#> file origin revf headf revo heado reviewer
#> 5 script/data-assembly.R script/data-assembly.R 1 5 1 5 anderson
#> 4 script/examp-txt.txt script/examp-txt.txt 0 1 0 1 anyone
#> 6 script/pk/load-spec.R script/pk/load-spec.R 1 4 1 4 anderson
#> time
#> 5 2025-01-17 20:09:50.8296542167664 GMT
#> 4 2025-01-17 20:09:50.7035799026489 GMT
#> 6 2025-01-17 20:09:50.8984508514404 GMT