Skip to contents

Use `copycat_package()` expects a text string to search for corresponding package name. It expects that the data frame has three columns. A column with the package name (package), a function (fun), and one with the code (code) to copy. If data = NULL, the package search in the the internal data `CopyCatCode`.

Usage

copycat_package(x, data = CopyCatCode)

Arguments

x

A search string for the code snippet

data

A data frame

Value

A string with the package name and the function sends the code to load the library to the console.