xg_example: Get path to excelgesis example

View source: R/xg_example.R

xg_exampleR Documentation

Get path to excelgesis example

Description

excelgesis includes many sheets drawn from examples, tests, and issues on readxl, rexcel, and googlesheets. This function makes it easier to get these filepaths. You probably want to make a copy in, e.g., working directory before unpacking an example. Or specify the exdir in xg_unzip().

Usage

xg_example(x = NULL)

Arguments

x

Character. A regex that matches desired filename(s).

Value

Character vector of full file paths.

Examples

xg_example()
xg_example("iris-excel-xlsx.xlsx")
xg_example("datasets")
xg_example("missing")

jennybc/excelgesis documentation built on July 29, 2023, 4:31 a.m.