Discussion:
Bug#934360: r-cran-boolnet: autopkgtest regression
Add Reply
Graham Inggs
2019-08-10 07:50:01 UTC
Reply
Permalink
Source: r-cran-boolnet
Version: 2.1.5-1
Severity: serious
X-Debbugs-CC: debian-***@lists.debian.org
User: debian-***@lists.debian.org
Usertags: regression

Hi Maintainer

Since the upload of 2.1.5-1, r-cran-boolnet has been failings its own
Stangle("BoolNet_package_vignette.Snw.Rnw")
Writing to file BoolNet_package_vignette.Snw.R
source("BoolNet_package_vignette.R.Rnw", echo=TRUE)
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
Calls: source -> file
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file 'BoolNet_package_vignette.R.Rnw': No such file or directory
Execution halted

Regards
Graham


[1] https://ci.debian.net/packages/r/r-cran-boolnet/unstable/amd64/
Graham Inggs
2019-08-11 11:30:02 UTC
Reply
Permalink
Control: tags -1 + patch

The patch below got the test passing in Ubuntu.

--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -10,7 +10,7 @@
cp /usr/share/doc/$pkg/examples/vignettes/* $ADTTMP
find . -name "*.gz" -exec gunzip \{\} \;
for rnw in `ls *.[rRS]nw` ; do
-rfile=`echo $rnw | sed 's/\.[rRS]nw/.R/'`
+rfile=`echo $rnw | sed 's/\.[rR]nw/.R/'`
R --no-save <<EOT
Stangle("$rnw")
source("$rfile", echo=TRUE)
Graham Inggs
2019-08-12 09:40:01 UTC
Reply
Permalink
Hi Andreas
Can you please simply do team uploads if you found a patch.
I'm busy with real life for the next 10 days.
Sure, I filed the bug because I wasn't sure **why** this change was
necessary, and thought it needed further investigation.

Looking at it again now, it seems to be because
vignettes/BoolNet_package_vignette.Snw was renamed to
vignettes/BoolNet_package_vignette.Snw.Rnw in the new upstream version.

I'll upload soon.

Regards
Graham

Loading...