| bifrost_example_file | R Documentation |
Resolves a named empirical artifact to a locally verified file. A directory
supplied through BIFROST_ARTIFACT_DIR always takes precedence, including
when refresh = TRUE. With no verified cache entry, the first request uses
the manifest and artifact currently tracked on GitHub main. Later calls
reuse the verified cache and work offline; use refresh = TRUE to check
main again. The returned value is a path; this function does not deserialize
the file.
bifrost_example_file(name, refresh = FALSE, quiet = FALSE)
name |
A registered example-data identifier. |
refresh |
Whether to bypass the cached manifest and check the remote manifest for a newer artifact. |
quiet |
Whether downloads should suppress progress output. |
A normalized path to the checksum-verified artifact.
## Not run:
bifrost_example_file("jaw-tree")
bifrost_example_file("jaw-tree", refresh = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.