<div dir="ltr"><div dir="ltr">Hello,<div><br></div><div>I submitted a package to CRAN that passed all checks in RStudio but failed when it was tested on Solaris (after it was on CRAN). Now I need to correct the error and resubmit to CRAN. I would like to avoid using CRAN as a debugging tool. Is there a way to check packages on Solaris? I am using Windows 10.</div><div><br></div><div>The packages checks are here <a href="https://cran.r-project.org/web/checks/check_results_BiProbitPartial.html">https://cran.r-project.org/web/checks/check_results_BiProbitPartial.html</a></div><div><br></div><div>An excerpt of the error is below</div><div><pre style="color:rgb(0,0,0)"><pre>BiProbitPartialMCMC.cpp:424:49: error: call of overloaded ‘log(bool)’ is ambiguous
         double SupportRatio = log(abs(rhoStar)<1) - log(abs(rho)<1);
                                                 ^</pre></pre><pre style=""><span style="font-family:arial,helvetica,sans-serif">There is a similar error for the second log function. It seems I can simply fix it with an if/else statement, but I would like to check it before submitting back to CRAN</span><font color="#000000" style="font-family:arial,helvetica,sans-serif">.</font>
</pre></div></div></div>