load_external_file: Helper function to build target functions to track and read...

Description Usage Arguments

View source: R/resource_projects.R

Description

This is a target factory that will produce a target to track a file, and then to read that file using an arbitrary function provided by the user.

Usage

1
load_external_file(sample_name, rootpath, filepath, func)

Arguments

sample_name

Name of the target

rootpath

Path to where resource files are kept

filepath

Relative path to file

func

Function to use to load file in R


databio/unitar documentation built on May 21, 2021, 11:25 p.m.