check_plater_format: Check whether a file is in plater format.

View source: R/check_plater_format.R

check_plater_formatR Documentation

Check whether a file is in plater format.

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

check_plater_format(file, sep = ",")

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

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

data <- check_plater_format(file_path)

plater documentation built on Oct. 30, 2024, 9:22 a.m.