# HG changeset patch # User stef # Date 1414492733 14400 # Node ID 51e37d436e76aa58d415e01eb2eff2bb401061f5 # Parent 8a7ee199a315ce9f93379591dc234f9d158648d3 Uploaded diff -r 8a7ee199a315 -r 51e37d436e76 R_test.R --- a/R_test.R Tue Oct 28 06:25:06 2014 -0400 +++ b/R_test.R Tue Oct 28 06:38:53 2014 -0400 @@ -1,16 +1,33 @@ systemUser <- system("whoami",T) rVersion <- R.version.string -cat( "Starting R_test\n" ) +cat( "-----\n starting\n-----\n") cat( rVersion, "\n" ) cat( systemUser, "\n" ) -#qdnaseqVersion <- packageDescription( "QDNAseq" )$Version +cmdLineArgs <- commandArgs(TRUE) +config <- cmdLineArgs[1] +source(config) ## retrieves variables +png( pngFile ) + plot( 1,1, main="PNG test" ) +dev.off() +## ----- +## check loading of packages +## ----- packs <- c() for ( pack in packs ){ catMsg( c("Loading ", pack) ) library( pack ) } +## ----- +## get package versions +## ----- +#qdnaseqVersion <- packageDescription( "QDNAseq" )$Version +cat( "-----\n session info\n-----\n") +sessionInfo() + + +## ----- q(status=0) diff -r 8a7ee199a315 -r 51e37d436e76 R_test.xml --- a/R_test.xml Tue Oct 28 06:25:06 2014 -0400 +++ b/R_test.xml Tue Oct 28 06:38:53 2014 -0400 @@ -11,26 +11,29 @@ - - - .*\S + + + +"${jobName}" -> outputName +"${htmlFile}" -> htmlFile +"${pngFile}" -> pngFile + + - - - - + + @@ -39,7 +42,7 @@ **Introduction** -This is just a tiny package to test R install +This is just a tiny package to test R dependecies