#!/bin/sh -e oname=qvalue pkg=r-bioc-`echo $oname | tr [A-Z] [a-z]` if [ "$AUTOPKGTEST_TMP" = "" ] ; then AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX` fi cd $AUTOPKGTEST_TMP cp /usr/share/doc/$pkg/examples/vignettes/* $AUTOPKGTEST_TMP find . -name "*.gz" -exec gunzip \{\} \; export LC_ALL=C for rnw in `ls *.[rRS]nw` ; do rfile=`echo $rnw | sed 's/\.[rRS]nw/.R/'` # Somehow Stangle ends up in error but an R file is created anyway so we ignore this for the moment echo "Stangle(\"$rnw\")" > tmp.R R --no-save < tmp.R || true # help requires user input sed -i 's/^help/#&/' $rfile R --no-save <<EOT # Stangle("$rnw") source("$rfile", echo=TRUE) EOT done rm -rf *
Generated by dwww version 1.15 on Thu Jun 27 23:17:47 CEST 2024.