check_plater_format: Check whether a file is in plater format.

Description Usage Arguments Value Examples

View source: R/check_plater_format.R

Description

Runs the provided file through a number of diagnostics to determine whether it is a valid plater format file and displays information about any deficiencies found.

Usage

1

Arguments

file

The path of the file to check.

sep

The character used to separate columns in the file (e.g. "," or ";"). Defaults to ",".

Value

Displays a number of messages as it checks the file. Will stop with a descriptive error message if the file is not formatted correctly.

Examples

1
2
3
file_path <- system.file("extdata", "example-1.csv", package = "plater")

data <- check_plater_format(file_path)

plater documentation built on Feb. 12, 2022, 1:07 a.m.