dput_fun: Dput a function

View source: R/dput_fun.R

dput_funR Documentation

Dput a function

Description

Choose a function of an installed R-package and save it to the specified target.

Usage

dput_fun(pkg_fun, target_dir = "R", rm_pattern = FALSE)

Arguments

pkg_fun

Character. Name of a package and function separated by '::'. E.g. fsf::dput_fun. Do not use quotation marks.

target_dir

Character. Specify the file path, where you want to write the file.

rm_pattern

Character. Choose any pattern that should be removed. E.g. 'fsf::' to exclude the name of the package sf.

Author(s)

Frederik Sachser


sachserf/sf documentation built on June 8, 2024, 4:23 p.m.