download_model: Download circus models

View source: R/download_model.R

download_modelR Documentation

Download circus models

Description

Downloads pre-compiled models from the circus-repository. The circus-repository contains a variety of fitted models to help the systematic testing of other packages

Usage

download_model(name, url = NULL)

Arguments

name

Model name.

url

String with the URL from where to download the model data. Optional, and should only be used in case the repository-URL is changing. By default, models are downloaded from ⁠https://raw.github.com/easystats/circus/master/data/⁠.

Details

The code that generated the model is available at the https://easystats.github.io/circus/reference/index.html.

Value

A model from the circus-repository, or NULL if model could not be downloaded (e.g., due to server problems).

References

https://easystats.github.io/circus/


insight documentation built on Nov. 26, 2023, 5:08 p.m.