ar_setup: Download AcceleRest Code and Weights

View source: R/ar_repo.R

ar_setupR Documentation

Download AcceleRest Code and Weights

Description

Runs ar_download_repo() and ar_download_weights().

Usage

ar_setup(
  model = NULL,
  cache_dir = ar_cache_dir(),
  overwrite = FALSE,
  quiet = TRUE,
  ...
)

Arguments

model

the models to download, see ar_weights()

cache_dir

directory to store the code and weights in

overwrite

If TRUE, re-download and replace an existing copy

quiet

passed to curl::curl_download()

...

additional arguments to pass to curl::curl_download()

Value

A list with the repository path and the weights data.frame.

Examples

## Not run: 
  # downloads the AcceleRest code and ~100MB of weights to ar_cache_dir()
  ar_setup()

## End(Not run)

rester documentation built on Nov. 13, 2026, 1:06 a.m.