Summarize the review log associated with a particular directory.
logSummary(directory = getwd())
the directory containing the log, or any directory below it
Whereas the review log can have any number of records for the same file, the summary reduces the data to one record per file. It is an error if any element of the file column is missing.
The log is read, then sorted on file, revision, time. The last record for each file is retained.
with_demoRepo({
logSummary()
})
#> file origin revf headf revo heado reviewer
#> 7 script/combine-da.R script/combine-da.R 1 1 1 1 anderson
#> 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
#> 7 2025-01-17 20:09:55.5023925304413 GMT
#> 5 2025-01-17 20:09:55.3648445606232 GMT
#> 4 2025-01-17 20:09:55.2388601303101 GMT
#> 6 2025-01-17 20:09:55.4328532218933 GMT