simplify production of the test ArtifSet

make_demo_ArtifSet(
  cache = BiocFileCache::BiocFileCache(),
  preclean = TRUE,
  demostring = "demo.tgz",
  url = paste0("file://", demo_path())
)

Arguments

cache

BiocFileCache instance to use for checking for available image and retrieving if possible

preclean

logical(1) defaults to TRUE, in which case we search `cache` for demostring in cache and remove

demostring

character(1) token to query BiocFileCache for in preclean step

url

character(1) url for local tgz

Examples

make_demo_ArtifSet()
#> starting untar...
#> done.
#> bbsBuildArtifacts ArtifSet instance.
#>   11 pkg paths for type bioc, Bioconductor version 3.17.
#>   18 extra file paths.
#>   tarball production date: 2022-09-09
#> R version: 4.2.1 (2022-06-23) -- "Funny-Looking Kid"
#> Platforms: 
#>   Linux (Ubuntu 20.04.4 LTS)
#>   macOS 10.14.6 Mojave
#>   Windows Server 2022 Datacenter
#> Use paths(aset)[...] to retrieve selected paths.