Downloads a FAIR theory archive from a 'Git' remote repository or 'Zenodo'.
Examples
download_theory(id = "https://github.com/cjvanlissa/tripartite_model.git",
path = file.path(tempdir(), "tripartite_git"))
#> ℹ Creating theory repository at "/tmp/RtmptL2KGz/tripartite_git"
#> ✔ Creating theory repository at "/tmp/RtmptL2KGz/tripartite_git" ... done
#>
#> ℹ Cloning repository from 'Git' remote
#> ✔ Cloning repository from 'Git' remote ... done
#>
download_theory(id = "10.5281/zenodo.14921521",
path = file.path(tempdir(), "tripartite_zenodo"))
#> ℹ Creating theory repository at "/tmp/RtmptL2KGz/tripartite_zenodo"
#> ✔ Creating theory repository at "/tmp/RtmptL2KGz/tripartite_zenodo" ... done
#>
#> ℹ Accessing record on 'Zenodo'
#> ✖ Accessing record on 'Zenodo' ... failed
#>
#> ℹ Download ZIP archive
#> ✖ Download ZIP archive ... failed
#>
#> ℹ Create local FAIR theory repository
#> ✖ Create local FAIR theory repository ... failed
#>