Skip to contents

Check to see if a file can be imported

Usage

is_importable(file_name)

Arguments

file_name

Name of file to check.

Value

Logical indicating if a file is an excel file or not.

Examples

is_importable("file.xls")
#> [1] TRUE
is_importable("file.csv")
#> [1] TRUE
is_importable("file.bob")
#> [1] FALSE