This is a simple helper function downloading the assets stored at https://github.com/mikemahoney218/unity_assets .
Arguments
- asset
The asset to download. Available asset names are provided in available_assets.
- directory
Optionally, the directory to extract the downloaded models in. If NULL, the default, saves to
tools::R_user_dir("unifir").
Examples
if (interactive()) {
get_asset(asset = "tree_1", directory = tempdir())
}
