<div dir="ltr"><div><div><div><div>Hi,<br><br></div>thanks for reporting this. I will attend to it.<br></div>Need to update my maintainer email address as well.<br><br></div>Bests,<br></div>Renaud<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 October 2017 at 12:03, 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 Renaud,<br>
<br>
seems I was using a wrong e-mail address.  The address mentioned at<br>
CRAN as maintainer was bouncing.<br>
<br>
Kind regards<br>
<br>
      Andreas,<br>
<br>
control: forwarded -1 Renaud Gaujoux <<a href="mailto:renaud@mancala.cbio.uct.ac.za">renaud@mancala.cbio.uct.ac.za</a><wbr>><br>
<br>
On Sat, Oct 21, 2017 at 07:59:51AM +0200, Andreas Tille wrote:<br>
> control: tags -1 upstream<br>
> control: forwarded -1 Renaud Gaujoux <<a href="mailto:renaud@tx.technion.ac.il">renaud@tx.technion.ac.il</a>><br>
><br>
><br>
> Hi Renaud,<br>
><br>
> I'm hereby forwarding an issue that was reported at the Debian<br>
> package.<br>
><br>
> Kind regards<br>
><br>
>        Andreas.<br>
><br>
><br>
> On Sat, Oct 21, 2017 at 05:10:44PM +1300, Michael Cree wrote:<br>
> > Source: r-cran-nmf<br>
> > Version: 0.20.6-1<br>
> > Severity: wishlist<br>
> ><br>
> > r-cran-nmf FTBFS on alpha, sparc64 and the non-linux arches, because<br>
> > it calls R base function parallel::detectCores() and expects the<br>
> > result to be an integer, however the detectCores() documentation<br>
> > states that the result is an integer only if the number of CPU cores<br>
> > is actually detected, and NA otherwise.  On the above mentioned<br>
> > systems detectCores() fails to detect the number of CPUs thus returns<br>
> > NA which leads to the failure to build in r-cran-nmf.<br>
> ><br>
> > The problem is at line 81 of R/options.R which has:<br>
> ><br>
> >         , pbackend= if( parallel::detectCores() > 1 ) 'par' else 'seq'<br>
> ><br>
> > Presumably that code should be modified to assign detectCores() to a<br>
> > variable and test for NA, and if it is NA just go with one core.<br>
> ><br>
> > Use of detectCores() is also in R/parallel.R and presumably that<br>
> > also should be checked for an NA returned value.<br>
> ><br>
> > Cheers<br>
> > Michael.<br>
> ><br>
> > ______________________________<wbr>_________________<br>
> > Debian-med-packaging mailing list<br>
> > <a href="mailto:Debian-med-packaging@lists.alioth.debian.org">Debian-med-packaging@lists.<wbr>alioth.debian.org</a><br>
> > <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging" rel="noreferrer" target="_blank">http://lists.alioth.debian.<wbr>org/cgi-bin/mailman/listinfo/<wbr>debian-med-packaging</a><br>
> ><br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> <a href="http://fam-tille.de" rel="noreferrer" target="_blank">http://fam-tille.de</a><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>