<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi all,
<div class=""><br class="">
<div class="">Couple of questions about how CRAN is building packages for OSX under R 3.4.X El Cap+, prompted by our package (OpenMx) failing CRAN builds (despite building fine locally).</div>
<div class=""><br class="">
</div>
<div class=""><b class="">Q1</b>: Is it the case that there’s no equivalent of the win.build system for package creators to test their packages against before submission?</div>
<div class=""><br class="">
</div>
<div class="">We thought <a href="https://builder.r-hub.io" class="">https://builder.r-hub.io</a> would be ideal for this but apparently r.hub and the CRAN build are differenent? It would seem ideal to set-up r-hub identically to the CRAN check machine… Is
that possible?</div>
<div class=""><br class="">
</div>
<div class=""><b class="">Q2: </b>Can someone (Simon?) clarify here what the CRAN mac build system is? Specifically:
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font face="-webkit-standard" class=""><br class="">
</font></span></div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font face="-webkit-standard" class="">1. For Clang one uses </font></span><font face="-webkit-standard" class=""> </font><a href="http://r.research.att.com/libs/clang-4.0.0-darwin15.6-Release.tar.gz" class="">clang-4.0.0-darwin15.6-Release.tar.gz</a>
located at<span style="background-color: rgb(255, 255, 255);" class=""><font face="-webkit-standard" class=""> here </font></span><font face="-webkit-standard" class=""><a href="http://r.research.att.com/libs" class="">http://r.research.att.com/libs</a> </font></div>
<div class=""><br class="">
</div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font face="-webkit-standard" class="">2. For Fortran one uses
</font></span><span style="font-family: Arial, "Lucida Grande", sans-serif;" class="">OS X El Capitan (10.11): </span><a class="http" href="http://coudert.name/software/gfortran-6.1-ElCapitan.dmg" style="font-family: Arial, "Lucida Grande", sans-serif; color: blue; border: 0px; text-decoration: none;">download
gfortran 6.1</a><span style="font-family: Arial, "Lucida Grande", sans-serif;" class=""> from </span><span style="font-family: -webkit-standard; background-color: rgb(255, 255, 255);" class=""><a href="https://gcc.gnu.org/wiki/GFortranBinaries#MacOS" class="">https://gcc.gnu.org/wiki/GFortranBinaries#MacOS</a> </span><b style="font-family: -webkit-standard;" class="">(</b><span style="font-family: -webkit-standard; background-color: rgb(255, 255, 255);" class="">even
if one if running 10.12 or 10.13, right?)</span></div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font face="-webkit-standard" class=""><br class="">
</font></span></div>
<div class=""><span style="background-color: rgb(255, 255, 255);" class=""><font face="-webkit-standard" class="">3. Make file. Is this the make file being used for CRAN check?</font></span></div>
<div class=""><tt style="background-color: rgb(255, 255, 255);" class=""><br class="">
</tt></div>
<div class=""><tt style="background-color: rgb(255, 255, 255);" class="">~/.R/Makevars</tt><span style="font-family: -webkit-standard; background-color: rgb(255, 255, 255);" class=""> </span></div>
<div class="">
<pre style="background-color: rgb(255, 255, 255);" class="">CC=/usr/local/clang4/bin/clang
CXX=/usr/local/clang4/bin/clang++
LDFLAGS=-L/usr/local/clang4/lib</pre>
<pre style="background-color: rgb(255, 255, 255);" class=""><br class=""></pre>
<pre style="background-color: rgb(255, 255, 255);" class="">Many thanks if it is possible to clarify building packages to mirror CRAN check under 3.4.X</pre>
<pre style="background-color: rgb(255, 255, 255);" class=""><div style="font-family: Helvetica; white-space: normal;" class="">PS: It would be great to have an Apple installer package for Clang… Perhaps getting installer packages for the build environment would be a good project for <a href="https://builder.r-hub.io" class="">https://builder.r-hub.io</a> ? (they are seeking <$10k projects with wide benefit, and I would have thought that keeping up an apple pkg for building R would fit that bill perfectly!!</div></pre>
</div>
</div>
</div>
</body>
</html>