#!/bin/sh -e pkgname=plotly debname=r-cran-plotly if [ "$AUTOPKGTEST_TMP" = "" ] ; then AUTOPKGTEST_TMP=`mktemp -d /tmp/${debname}-test.XXXXXX` trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM fi cd $AUTOPKGTEST_TMP cp -a /usr/share/doc/$debname/tests/* $AUTOPKGTEST_TMP gunzip -r * # Example package palmerpenguins is not packaged - so remove tests referencing this package rm -f `grep -l palmerpenguins testthat/*.R` for testfile in *.R; do echo "BEGIN TEST $testfile" LC_ALL=C R --no-save < $testfile done
Generated by dwww version 1.15 on Thu Jun 20 14:23:00 CEST 2024.