download_theory: Download FAIR Theory

View source: R/download_theory.R

download_theoryR Documentation

Download FAIR Theory

Description

Downloads a FAIR theory archive from a 'Git' remote repository or 'Zenodo'.

Usage

download_theory(id, path = ".")

Arguments

id

URL of the 'Git' repository or DOI of the 'Zenodo' archive.

path

Character, indicating the directory in which to create the FAIR theory.

Examples

## Not run: 
# These examples require internet access and may fail if resources are unavailable
download_theory(id = "https://github.com/cjvanlissa/tripartite_model.git",
path = file.path(tempdir(), "tripartite_git"))
download_theory(id = "10.5281/zenodo.14921521",
path = file.path(tempdir(), "tripartite_zenodo"))

## End(Not run)

theorytools documentation built on Feb. 7, 2026, 5:06 p.m.