<div dir="ltr"><div>Hi James,</div><div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class="im" style="font-size:12.8px">> When I replace the code block with the macro, it doesn't get automatically<br>> detected. Could you kindly tell me what could be causing this?<br><br></span><span style="font-size:12.8px">You probably need to specify XAPIAN_CONFIG:</span></blockquote><div><br>Will try that. Thanks. </div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px">How does putting code in CRAN work? Do you build a tgz or similar? (In</span><br style="font-size:12.8px"><span style="font-size:12.8px">which case what we probably want is to have a script that does that,</span><br style="font-size:12.8px"><span style="font-size:12.8px">and we can have RXapian in the main repo, which would make it easier</span><br style="font-size:12.8px"><span style="font-size:12.8px">for us to run automated tests (or at least automated builds) for the</span><br style="font-size:12.8px"><span style="font-size:12.8px">latest versions.</span></blockquote><div> </div><div>Submission should be a source tarball (*.tar.gz file), which can be created by R CMD build.<br><br>Best regards,<br>Amanda<br> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 19, 2016 at 6:01 PM, James Aylett <span dir="ltr"><<a href="mailto:james-xapian@tartarus.org" target="_blank">james-xapian@tartarus.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Jun 18, 2016 at 07:10:43PM +0530, Amanda Jayanetti wrote:<br>
<br>
> > If you've installed xapian-core then the macro should just be<br>
> > found automatically.<br>
><br>
> When I replace the code block with the macro, it doesn't get automatically<br>
> detected. Could you kindly tell me what could be causing this?<br>
<br>
</span>You probably need to specify XAPIAN_CONFIG:<br>
<br>
$ ./configure XAPIAN_CONFIG=path/to/xapian-config-1.3<br>
<br>
(This is because development versions of Xapian have the -1.x suffix,<br>
but the macro looks for just xapian-config by default -- which is what<br>
most people want, as they'll be using release versions of Xapian.)<br>
<span class=""><br>
> > at some point<br>
> > we should probably sort out support for RXapian in there<br>
><br>
> I don't understand why this needs to be done. Shouldn't the source code of<br>
> RXapian be kept separately and distributed via CRAN?<br>
<br>
</span>How does putting code in CRAN work? Do you build a tgz or similar? (In<br>
which case what we probably want is to have a script that does that,<br>
and we can have RXapian in the main repo, which would make it easier<br>
for us to run automated tests (or at least automated builds) for the<br>
latest versions.<br>
<div class="HOEnZb"><div class="h5"><br>
J<br>
<br>
--<br>
  James Aylett, occasional trouble-maker<br>
  <a href="http://xapian.org" rel="noreferrer" target="_blank">xapian.org</a><br>
<br>
</div></div></blockquote></div><br></div>