Learn R Programming

pkglite (version 0.2.3)

is_file_spec: Is this a file specification object?

Description

Is this a file specification object?

Usage

is_file_spec(object)

Value

Logical. TRUE if it is a file specification object, FALSE otherwise.

Arguments

object

Any R object

Specification

The contents of this section are shown in PDF user manual only.

Examples

Run this code
file_spec(
  "R/",
  pattern = "\\.R$", format = "text",
  recursive = FALSE, ignore_case = TRUE, all_files = FALSE
) %>%
  is_file_spec()

Run the code above in your browser using DataLab