Skip to contents

Sync local environment to match the project's lockfile.

Usage

slushy_sync(project = NULL, config = get_config())

Arguments

project

The project directory. If NULL, defaults to the nearest parent directory that contains an `.Rproj` file relative to the current working directory.

config

List of configuration options. If not provided, defaults to reading from default settings in config file included in slushy package.

Install/update packages as needed to match the lockfile.

Value

This function is called for its side effects.

Examples

if (FALSE) { # \dontrun{
  slushy_sync()
} # }