# HG changeset patch # User brenninc # Date 1440688793 14400 # Node ID 07d42414fceeba063140e0afc6734a2911b5a998 Uploaded diff -r 000000000000 -r 07d42414fcee error.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/error.txt Thu Aug 27 11:19:53 2015 -0400 @@ -0,0 +1,12 @@ +https://toolshed.g2.bx.psu.edu/repository?repository_id=f55e08d70b8fd026&changeset_revision=b39299b4b6e1 +checking if R was compiled with the RConn patch... no +install_environment.STDOUT DEBUG 2015-08-25 17:43:55,657 checking cairo.h presence... no +checking cairo.h usability... no +checking cairo.h presence... no +checking for cairo.h... no +configure: error: Cannot find cairo.h! Please install cairo (http://www.cairographics.org/) and/or set CAIRO_CFLAGS/LIBS correspondingly. +ERROR: configuration failed for package ‘Cairo’ +* removing ‘/home/christian/galaxy/dependency_dir/R_cairo/0.0.1/brenninc/r_packages/99051bae79b0/Cairo’ +Warning message: + + diff -r 000000000000 -r 07d42414fcee packages.R --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages.R Thu Aug 27 11:19:53 2015 -0400 @@ -0,0 +1,5 @@ +library(Cairo) + +args<-commandArgs(TRUE) +writeLines(capture.output(sessionInfo()), args[1]) +sessionInfo() diff -r 000000000000 -r 07d42414fcee r_info.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/r_info.sh Thu Aug 27 11:19:53 2015 -0400 @@ -0,0 +1,30 @@ +#!/bin/sh + + +#Copied from https://github.com/galaxyproject/galaxy/blob/dev/tools/stats/r_wrapper.sh + +### Run R providing the R script in $1 as standard input and passing +### the remaining arguments on the command line + +# Function that writes a message to stderr and exits +fail() +{ + echo "$@" >&2 + exit 1 +} + +# Ensure R executable is found +which R > /dev/null || fail "'R' is required by this tool but was not found on path" + +# Extract first argument +rfile=$1 +package_file=$2 +version_file=$3 + +# Ensure the file exists +test -f $infile || fail "R input file '$infile' does not exist" + +# Invoke R passing file named by first argument to stdin +#Remove --slave for full R output +R --vanilla --slave --args $package_file < $rfile +echo "done" diff -r 000000000000 -r 07d42414fcee r_info.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/r_info.xml Thu Aug 27 11:19:53 2015 -0400 @@ -0,0 +1,30 @@ + + + R + R_cairo + cairo + + Lists packages installed into R + + + + + + r_info.sh $__tool_directory__/packages.R $packages + + + + + + + + + + + + + diff -r 000000000000 -r 07d42414fcee tool_dependencies.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Thu Aug 27 11:19:53 2015 -0400 @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + https://cran.r-project.org/src/contrib/Cairo_1.5-8.tar.gz + + + + + + +