Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as.package

Coerce input to a package.


Description

Possible specifications of package:

  • path

  • package object

Usage

as.package(x = NULL, create = NA)

Arguments

x

object to coerce to a package

create

only relevant if a package structure does not exist yet: if TRUE, create a package structure; if NA, ask the user (in interactive mode only)


devtools

Tools to Make Developing R Packages Easier

v2.4.1
MIT + file LICENSE
Authors
Hadley Wickham [aut], Jim Hester [aut, cre], Winston Chang [aut], RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.