use_dataset: Create a 'tar_target' for using a dataset from 'datasets/'

View source: R/dataset.R

use_datasetR Documentation

Create a tar_target for using a dataset from datasets/

Description

Create a tar_target for using a dataset from datasets/

Usage

use_dataset(dataset, path_only = TRUE)

Arguments

dataset

A string or symbol.

path_only

Only list path as target? FALSE would list a target that would read the dataset from path.

Value

A list of targets with names <dataset>_path and <dataset>, respectively.


aldencabajar/fluke-framework documentation built on April 4, 2022, 8:26 a.m.