R/fixfile.R

Defines functions fixfile

#' fixfile
#' 
#' Fix file format of text files (e.g. line/file endings
#' 
#' 
#' @param f path to the file that should be fixed
#' @author Jan Philipp Dietrich
#' @export
fixfile <- function(f) {
  a <- readLines(f)
  writeLines(a,f)
}
pik-piam/lucode documentation built on June 10, 2020, 6:55 p.m.