is_file_spec {pkglite}R Documentation

Is this a file specification object?

Description

Is this a file specification object?

Usage

is_file_spec(object)

Arguments

object

Any R object

Value

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

Specification

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

Examples

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

[Package pkglite version 0.2.2 Index]