Skip to content

Instantly share code, notes, and snippets.

@karldw
karldw / snakemake_in_R.R
Created November 4, 2020 01:31
Snakemake in R
# Snakemake notes.
# Note that if you're using renv, you have to source .Rprofile yourself.
if (file.exists(".Rprofile")) {
source(".Rprofile")
}
# For development, it can be easier to define a snakemake locally.
# This block can be removed once things are working properly.
SnakemakePlaceholder <- setClass("Snakemake",