Type: | Package |
Title: | A Friendly Package Manager |
Version: | 0.5.5 |
Date: | 2022-10-30 |
Description: | Manage project dependencies from your DESCRIPTION file. Create a reproducible virtual environment with minimal additional files in your project. Provides tools to add, remove, and update dependencies as well as install existing dependencies with a single function. |
URL: | https://github.com/ankane/jetpack |
BugReports: | https://github.com/ankane/jetpack/issues |
License: | MIT + file LICENSE |
RoxygenNote: | 7.2.1 |
Encoding: | UTF-8 |
Imports: | renv (≥ 0.13.1), remotes (≥ 2.0.3), desc (≥ 1.2.0), docopt (≥ 0.4) |
Suggests: | testthat, withr, packrat |
Config/testthat/start-first: | cli, global |
NeedsCompilation: | no |
Packaged: | 2022-10-31 01:39:42 UTC; andrew |
Author: | Andrew Kane [aut, cre] |
Maintainer: | Andrew Kane <andrew@chartkick.com> |
Repository: | CRAN |
Date/Publication: | 2022-10-31 14:30:12 UTC |
Add a package
Description
Add a package
Usage
add(packages, remotes = c())
Arguments
packages |
Packages to add |
remotes |
Remotes to add |
Value
No return value
Examples
## Not run:
jetpack::add("randomForest")
jetpack::add(c("randomForest", "DBI"))
jetpack::add("DBI@1.0.0")
jetpack::add("plyr", remote="hadley/plyr")
jetpack::add("plyr", remote="local::/path/to/plyr")
## End(Not run)
Check that all dependencies are installed
Description
Check that all dependencies are installed
Usage
check()
Value
TRUE
if all dependencies are installed, FALSE
otherwise, invisibly
Examples
## Not run:
jetpack::check()
## End(Not run)
Install the command line interface
Description
Install the command line interface
Usage
cli(file = NULL)
Arguments
file |
The file to create |
Value
No return value
Examples
## Not run:
jetpack::cli()
## End(Not run)
Set up Jetpack
Description
Set up Jetpack
Usage
init()
Value
No return value
Examples
## Not run:
jetpack::init()
## End(Not run)
Install packages for a project
Description
Install packages for a project
Usage
install(deployment = FALSE)
Arguments
deployment |
Use deployment mode |
Value
No return value
Examples
## Not run:
jetpack::install()
## End(Not run)
Load Jetpack
Description
Load Jetpack
Usage
load()
Value
No return value
Migrate from packrat to renv
Description
Migrate from packrat to renv
Usage
migrate()
Value
No return value
Examples
## Not run:
jetpack::migrate()
## End(Not run)
Show outdated packages
Description
Show outdated packages
Usage
outdated()
Value
No return value
Examples
## Not run:
jetpack::outdated()
## End(Not run)
Remove a package
Description
Remove a package
Usage
remove(packages, remotes = c())
Arguments
packages |
Packages to remove |
remotes |
Remotes to remove |
Value
No return value
Examples
## Not run:
jetpack::remove("randomForest")
jetpack::remove(c("randomForest", "DBI"))
jetpack::remove("plyr", remote="hadley/plyr")
## End(Not run)
Run the command line interface
Description
Run the command line interface
Usage
run()
Value
No return value
Update a package
Description
Update a package
Usage
update(packages = c(), remotes = c())
Arguments
packages |
Packages to update |
remotes |
Remotes to update |
Value
No return value
Examples
## Not run:
jetpack::update("randomForest")
jetpack::update(c("randomForest", "DBI"))
jetpack::update()
## End(Not run)