<font face="arial, helvetica, sans-serif">The error appears to be occurring in the call to RcppLdPath (made by both sourceCpp and RStan). Here's the source code for that function:</font><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><font face="arial, helvetica, sans-serif"><div>RcppLdPath <- function() {</div><div>    if (nzchar(.Platform$r_arch)) {<span class="Apple-tab-span" style="white-space:pre"> </span>## eg amd64, ia64, mips</div>
<div>        path <- Rcpp.system.file("lib",.Platform$r_arch)</div><div>    } else {</div><div>        path <- Rcpp.system.file("lib")</div><div>    }</div><div>    path</div><div>}</div></font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">The call to Rcpp.system.file (looking for lib) is failing in your configuration. I'm not sure why this would be.</font></div>
<div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div></div>