Closed Athanasios72 closed 5 years ago
rtree
is a suggested dependency of phenoptr
, meaning that is not installed if you used the default installation via remotes::install_github()
. You can either install rtree
with
install.packages("rtree")
or you can re-install phenoptr
with all dependencies, including those listed in Suggests, with
remotes::install_github("akoyabio/phenoptr", dependencies = TRUE)
You may also need to add force = TRUE
if install_github()
says that the package hasn't updated since last install.
Despite the scary message, I think your script has run correctly. Can you check if you got the expected results?
Options:
phenoptr
- I just pushed a change that removes this message (which is really an informational warning).rtree
as @gadenbuie suggests; when it is installed, count_within_batch
is much faster.options(use.rtree.if.available=FALSE)
which will entirely restore the old behavior which does not check for or use rtree
.Thank you @gadenbuie for your suggestion. I did as you suggested (reinstall with all dependencies) and my script run perfectly. Also thank you @AB-Kent. After reinstalling with all dependencies, count_within_batch is much faster.
Hi, I installed the newest version of R (3.5.3) and RStudio (1.2.1335). I also installed the latest version of "phenoptr" and run my usual script for multi-radii spatial analysis of my samples (obtained using Inform 2.3):
Am I doing something wrong? What can I do to solve this error and run my script? Previously I had been running R v3.3.1 and the same script run perfectly.
Thank you.