Writes a table of the history to its CSV file in dir, in UTF-8 and without row
names.
Examples
rghcard:::write_table(rghcard:::empty_table("views"), tempdir(), "views")
readLines(file.path(tempdir(), "views.csv"))
#> [1] "\"repo\",\"date\",\"count\",\"uniques\""