pkg <- read.dcf("../DESCRIPTION", fields = "Package")[1] library(pkg, character.only = TRUE)
library(`r pkg`)
It may be desirable to set up multiple workflow files within the same repository.
A common use case for this is for Bioconductor
packages,
which rely on version-controlled
release schedules.
Because of the release schedule, you may want to have different virtual machine (VM) setups for each version of your package (which are stored on different branches of the same GitHub repository).
devel
branchOnly use the devel
version of Bioc when launching
GitHub Actions from the devel
branch.
v <- "devel" f1 <- use_workflow(name = paste("rworkflows",v,sep="."), branches = v, runners = construct_runners(bioc = v), preview = TRUE, force_new = TRUE, save_dir = tempdir() # For demo only, use default in practice )
RELEASE_3_17
branchOnly use the 3.17
release version of Bioc when launching
GitHub Actions from the RELEASE_3_17
branch.
v <- "RELEASE_3_17" f2 <- use_workflow(name = paste("rworkflows",v,sep="."), branches = v, runners = construct_runners(bioc = v), preview = TRUE, force_new = TRUE, save_dir = tempdir() # For demo only, use default in practice )
RELEASE_*
branchesOnly use the latest release
version of Bioc when launching
GitHub Actions from any RELEASE_*
branch.
v <- "RELEASE_*" f3 <- use_workflow(name = paste("rworkflows",v,sep="."), branches = v, runners = construct_runners(bioc = v), preview = TRUE, force_new = TRUE, save_dir = tempdir() # For demo only, use default in practice )
utils::sessionInfo()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.