Learn R Programming

devtools (version 2.2.2)

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)