[Experimental] The csv file is read twice to detect the number of lines to use in attributing the column type ('guess_max' parameter of read_csv). This avoids common errors when reading csv files.

read_csv_any_formats(filename)

Arguments

filename

A character string of the path of the csv file.

Value

A tibble corresponding to the csv read.

Examples

{

try(read_csv_any_formats(filename = tempfile()),silent = TRUE)

}