Coerce input to a package.
Possible specifications of package:
- package object
as.package(x = NULL, create = NA)
- object to coerce to a package
- 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)
Looks like there are no examples yet.