smbache / loggr

Easy and flexible logging for R
Other
79 stars 6 forks source link

Should overwrite be TRUE or FALSE by default? #26

Open rgknight opened 8 years ago

rgknight commented 8 years ago

The help file for log_file says:

#' @param overwrite logical: whether or not to overwrite the file at
#' \code{file_name} if it already exists. Set to FALSE by default.

However, the default is actually TRUE: https://github.com/smbache/loggr/blob/master/R/log_file.R#L51

Which is the preferred behavior?