<div dir="ltr">1) Yes, I mean after I tried <div><br><div><span style="font-size:12.8px"> apt-get source r-cran-rcppgsl</span></div><div><span style="font-size:12.8px"> LC_ALL=C R --no-save < r-cran-rcppgsl*/tests/doRUnit.</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">R</span><br></div></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">There was an error "gsl-config not found". Unfortunately, I didn't save that log and can't reproduce it now =(</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">2) I executed autopkgtest . -- null and run-unit-test failed after linker call, I saved that log so it's attached</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">3) Done</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 27, 2017 at 2:03 PM, Andreas Tille <span dir="ltr"><<a href="mailto:andreas@an3as.eu" target="_blank">andreas@an3as.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nadiya,<br>
<br>
thanks for your patience. It seems we have spotted here a really buggy<br>
package with missing dependencies.<br>
<span class=""><br>
On Mon, Mar 27, 2017 at 01:20:30PM -0700, Nadiya Sitdykova wrote:<br>
> Here is the output of apt-cache policy r-cran-rcppgsl:<br>
><br>
> r-cran-rcppgsl:<br>
> Installed: 0.3.2-1<br>
> Candidate: 0.3.2-1<br>
> Version table:<br>
> *** 0.3.2-1 500<br>
> 500 <a href="http://ftp.us.debian.org/debian" rel="noreferrer" target="_blank">http://ftp.us.debian.org/<wbr>debian</a> sid/main amd64 Packages<br>
> 100 /var/lib/dpkg/status<br>
><br>
> tests for r-cran-rcppgsl crashed because of absence of gsl-config.<br>
<br>
</span>Do you want to say that after installing r-cran-rcppgsl on a clean<br>
system is not able to run the test suite of r-cran-rcppgsl itself and<br>
the installation of gsl-config is required to do so?<br>
<br>
Or is it rather that gsl-config is required to run the test suite of<br>
mapdamage?<br>
<span class=""><br>
> So I've<br>
> done some googling, installed gsl-devel and it helped with<br>
> run-r-packages-check but I still didn't get the same error for<br>
> run-unit-test as you, I got:<br>
><br>
> Compilation ERROR, function(s)/method(s) not created! /usr/bin/ld:<br>
> cannot find -llapack<br>
> /usr/bin/ld: cannot find -lblas<br>
<br>
</span>Hmmm, at what point of the test is the linker ld called?<br>
<span class=""><br>
> So I also installed libopenblas-base and libopenblas-dev. NOW I got the<br>
> same error as you.<br>
<br>
</span>I wonder in how far the development package is needed in the test suite.<br>
May be it would be enlightening if you always would write down the<br>
command you called and add a larger chunk of the resulting output.<br>
<br>
As you describe things it seems this is another missing dependency.<br>
<span class=""><br>
> I looked into it, and it seems that the problem is that<br>
> in the test data nucleotide frequency array looks like 0.5555556 0.2222222<br>
> 0.2222222 0,<br>
> i.e. frequence for T is zero, which is not what expected by mapdamage from<br>
> line 4 in<br>
> <a href="https://github.com/ginolhac/mapDamage/blob/master/mapdamage/Rscripts/stats/function.R#L4" rel="noreferrer" target="_blank">https://github.com/ginolhac/<wbr>mapDamage/blob/master/<wbr>mapdamage/Rscripts/stats/<wbr>function.R#L4</a><br>
> Even though documentation doesn't say that zero frequences are not allowed.<br>
><br>
> I changed reference file from "CGAGGGCGA" to "TGAAAACGA" (so all frequences<br>
> > 0) and now it executes without errors.<br>
<br>
</span>Would you mind reporting this in the upstream issue tracker?<br>
<br>
Thanks for your patient work on this<br>
<span class="HOEnZb"><font color="#888888"><br>
Andreas.<br>
<br>
--<br>
<a href="http://fam-tille.de" rel="noreferrer" target="_blank">http://fam-tille.de</a><br>
<br>
</font></span></blockquote></div><br></div>