Shows the first few lines in a text file. Useful for trying to understand problems in GPS files.
check_file(file_name, n_max = 10, ...)
A character vector with one element for each line
Character. File path to check.
Numeric. Number of lines in the file to show. Default 10.
Arguments passed on to readr::read_lines()
Wrapper around readr::read_lines(n_max)
.
f <- system.file("extdata", "logfile_00015141_SD1.txt", package = "ARUtools")
check_file(f)
Run the code above in your browser using DataLab