format_logs: Format Downloaded CRAN Logs

Description Usage Arguments Value Examples

Description

the CRAN logs are in a highly sensible format but some of the fields haven't had their values abstracted away to easily human-readable ones. format_logs performs this operation, starting with refactoring the r_os field to contain values like "Windows" or "OSX" instead of "mingw32" or "darwin".

Usage

1

Arguments

logs

a data.frame of log data obtained through read_logs.

Value

a data.frame identical to logs but with a reformatted r_os field.

Examples

1
2
3
4
5
# Read in and format the logs from the day before yesterday.
## Not run: 
formatted_data <- format_logs(read_logs())

## End(Not run)

Ironholds/cranlog documentation built on May 8, 2019, 1:28 p.m.