Skip to content
Prev 13226 / 21307 Next

[Bioc-devel] Workflows are now in git (and other Important workflow-related changes)

Thank you Andrzej for the info!


## Re-point (1)

Regarding my (1), I got my github repo in sync following
http://bioconductor.org/developers/how-to/git/sync-existing-repositories/
and http://bioconductor.org/developers/how-to/git/abandon-changes/#force-bioconductor--to-github-
It all worked without problems. Thanks again for the great docs!


## on.bioc auto-detection

At https://github.com/LieberInstitute/recountWorkflow/commit/b456fbbe6ddbeda297ef03b79de9e004f28c0b97#diff-a87d0071c97357f224ad6608f837fbbfR45
I'm using

on.bioc <- knitr::opts_knit$get("rmarkdown.pandoc.to") != 'latex'

to detect automatically whether I'm rendering the output for Bioc or
not. For F1000 I'll use BiocWorkflowTools::f1000_article as the output
by calling rmarkdown::render() manually. I thought this little code
would help others who want to have a single repo for both BioC and
F1000.


## Re-point (5)
http://bioconductor.org/checkResults/3.7/workflows-LATEST/recountWorkflow/malbec2-buildwebvig.html
how the final Bioc web version is being built. That is:

/home/biocbuild/bbs-3.7-bioc/R/bin/R -q -e
'rmarkdown::render(".buildwebvig/recountWorkflow/recount-workflow.Rmd",
output_format="BiocStyle:::html_fragment")' &&
/home/biocbuild/bbs-3.7-bioc/R/bin/R -q -e
'knitr::purl(".buildwebvig/recountWorkflow/recount-workflow.Rmd",
".buildwebvig/recountWorkflow/recount-workflow.R")'

I can see the R version being used at
http://bioconductor.org/checkResults/3.7/workflows-LATEST/index.html
although not the bioc version (that I can infer from the package
loading messages, like clusterProfiler's one). This only matters in
those 6 months when release/devel are being built on the same R
version.

Now that I have the commands and versions, if I ever see anything
weird on the rendered Bioc web version I have a way to test things
myself instead of relying on the bioc builds. Since this is a bit
different than the rest of Bioc, maybe it'd be good to document the
build commands somewhere else.



Again, let me thank all of you for your work! I'm really excited about
the new workflow build chain and how it'll simplify
maintaining/writing workflows!


Best,
Leo
On Tue, Apr 3, 2018 at 6:38 AM, Andrzej Ole? <andrzej.oles at gmail.com> wrote: