get_shim_code: Generate the code associated with writing a shim

Description Usage Arguments Value

View source: R/utils.R

Description

Generate the code associated with writing a shim

Usage

1
get_shim_code(func, package = "", path_arg = "")

Arguments

func

name of function you want to create a shim for (e.g. "read_excel")

package

name of package that provided function is from (e.g. "readxl")

path_arg

name of path-related argument in that function (if not specified, fertile will make an educated guess).

Value

vector of lines making up code for shim


beanumber/fertile documentation built on April 17, 2021, 4:33 a.m.