tor_example: Easily access example data.

View source: R/tor_example.R

tor_exampleR Documentation

Easily access example data.

Description

Easily access example data.

Usage

tor_example(path = NULL)

Arguments

path

Length-1 character vector. A path to an available directory.

Value

A character string listing available directories or a length-1 string giving a path to a directory.

Author(s)

Copied from readr_example() from the readr package, by Jim Hester and colleagues.

Examples

tor_example()

tor_example("csv")

dir(tor_example("csv"))

tor documentation built on Sept. 11, 2024, 7:56 p.m.