Commit a6a486f2 authored by Holger Brandl's avatar Holger Brandl
Browse files

use snippet rendering for report if rendr_snippet is on path

parent 59a7297b
......@@ -72,13 +72,19 @@ jlistReport(){
# ## add spin.R
# export PATH=/projects/bioinfo/holger/bioinfo_templates/misc:$PATH
# source $(which
wget --no-check-certificate
chmod u+x CreateJobReport.R
CreateJobReport.R $joblistFile
# echo "Creating report for $joblistFile"
# echo "reportName='$joblistFile'; devtools::source_url('',local=T)" | spinsnip $(echo $joblistFile | tr -d ".")
rm CreateJobReport.R
# if [ -n "$(which rend.R)" ]; then
if [ -n "$(type rendr_snippet)" ]; then
curl 2>&1 2>/dev/null | rendr_snippet ${joblistFile}.report $joblistFile
## fall back to plain execution of the report. This will just create a generic Rplots.pdf
wget --no-check-certificate
chmod u+x CreateJobReport.R
CreateJobReport.R $joblistFile
rm CreateJobReport.R
export -f jlistReport
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment