Package 'jetpack'

Title: A Friendly Package Manager
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.
Authors: Andrew Kane [aut, cre]
Maintainer: Andrew Kane <[email protected]>
License: MIT + file LICENSE
Version: 0.5.5
Built: 2024-10-31 04:35:01 UTC
Source: https://github.com/ankane/jetpack

Help Index


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("[email protected]")

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)

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)

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)