check_file {ARUtools}R Documentation

Explore a file

Description

Shows the first few lines in a text file. Useful for trying to understand problems in GPS files.

Usage

check_file(file_name, n_max = 10, ...)

Arguments

file_name

Character. File path to check.

n_max

Numeric. Number of lines in the file to show. Default 10.

...

Arguments passed on to readr::read_lines()

Details

Wrapper around readr::read_lines(n_max).

Value

A character vector with one element for each line

Examples

f <- system.file("extdata", "logfile_00015141_SD1.txt", package = "ARUtools")
check_file(f)


[Package ARUtools version 0.6.2 Index]