<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am a maintainer of this package - <a href="https://github.com/akoyabio/rtree" id="LPlnk490645" target="_BLANK">https://github.com/akoyabio/rtree</a> - originally inspired by this example - <a href="https://gallery.rcpp.org/articles/Rtree-examples/" id="LPlnk" target="_BLANK">https://gallery.rcpp.org/articles/Rtree-examples/</a>.
 This package wraps the rtree implementation from BH 1.7.2.0-3 to provide fast methods for finding points nearby to other points in large data sets.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
 I want to submit the package to CRAN but I have a CMD CHECK warning on Windows that I can't resolve.</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Running CMD CHECK from GitHub Actions, on Microsoft Windows Server 2019 10.0.17763, I get this error message:</div>
<blockquote style="margin-top:0; margin-bottom:0">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
-- R CMD check results ---------------------------------------- rtree 0.2.0 ----
<div>Duration: 1m 42.7s</div>
<div><br>
</div>
<div>> checking whether package 'rtree' can be installed ... WARNING</div>
<div>  See below...</div>
<div><br>
</div>
<div>0 errors v | 1 warning x | 0 notes v</div>
<div>Error: Error: R CMD check found WARNINGs</div>
<div>Execution halted</div>
Error: Process completed with exit code 1.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</blockquote>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The full output is here: <a href="https://github.com/akoyabio/rtree/runs/2502841486?check_suite_focus=true" id="LPlnk659853" target="_BLANK">https://github.com/akoyabio/rtree/runs/2502841486?check_suite_focus=true</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The message says "See below..." but there is nothing below? </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Running on my local Windows 10 PC I get this warning and a note:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<blockquote style="margin-top:0; margin-bottom:0">-- R CMD check results ---------------------------------------- rtree 0.2.0 ----
<div>Duration: 1m 2.2s</div>
<div><br>
</div>
<div>> checking whether package 'rtree' can be installed ... WARNING</div>
<div>  See below...</div>
<div><br>
</div>
<div>> checking compiled code ... NOTE</div>
<div>  Note: information on .o files for x64 is not available</div>
<div>  File 'C:/Research/rtree.Rcheck/rtree/libs/x64/rtree.dll':</div>
<div>    Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)</div>
<div>    Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)</div>
<div>    Found 'printf', possibly from 'printf' (C)</div>
<div>  </div>
<div>  Compiled code should not call entry points which might terminate R nor</div>
<div>  write to stdout/stderr instead of to the console, nor use Fortran I/O</div>
<div>  nor system RNGs. The detected symbols are linked into the code but</div>
<div>  might come from libraries and not actually be called.</div>
<div>  </div>
<div>  See 'Writing portable packages' in the 'Writing R Extensions' manual.</div>
<div><br>
</div>
<div>0 errors v | 1 warning x | 1 note x</div>
<div>Error: R CMD check found WARNINGs</div>
<div>Execution halted</div>
<div><br>
</div>
<div>Exited with status 1.</div>
</blockquote>
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Again I have the "See below..." message and a confusing NOTE - I do not have any calls to abort, exit or printf in my code.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Any help in fixing the warning and note is much appreciated. If this is not an appropriate place to ask, please let me know what would be better. I'm perplexed.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thank you,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Kent Johnson</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Principal Software Developer</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Akoya Biosciences</div>
</body>
</html>