R package for calling gateaux API from R
remotes::install_github("dragonfly-science/bakeR")
After loading your private JWT token in your R session (JWT="my_token_goes_here"
), define the parameter list for each run, and launch!
pars = list(Run1 = list(pars = list(Env1 = "This_env",
Env2 = "That_env")),
Run2 = list(pars = list(Env1 = "That_env",
Env2 = "This_env")))
gateaux_job_runner(pars,
report_name = "bakeR-testreport",
JWT = JWT)
wants and requires arguments can be added like so (where numbers refer to job ids):
pars = list(Run1 = list(pars = list(Env1 = "This_env",
Env2 = "That_env"),
wants = list(Upstram_job = 1234),
requires = list(Upstream_job2 = 4321)),
Run2 = list(pars = list(Env1 = "That_env",
Env2 = "This_env"),
wants = list(Upstram_job = c(2222, 5555, 6666)),
requires = list(Upstream_job2 = c(3333, 2244, 111))))