OpenDroneMap / FIELDimageR

FIELDimageR: A R package to analyze orthomosaic images from agricultural field trials. This package is a compilation of functions to analyze pos-mosaicking images from research fields, and allows to: crop the image; remove soil effect; build vegetation indices; rotate the image; build the plot shapefile; extract information for each plot; and evaluate stand count, canopy percentage, and plant height.
GNU General Public License v2.0
230 stars 89 forks source link

error installing, object elide not supported by package #45

Open ssanzebin opened 1 year ago

ssanzebin commented 1 year ago

Hi guys,

I have been trying to install the fieldimager package and did it both ways, but still get the same error. I am using a macOS and have the updated version of Rstudio.

Here is what I am getting:

"Downloading GitHub repo OpenDroneMap/FIELDimageR@HEAD
── R CMD build ────────────────────────────────────────────────────────────────────────────────────
✔  checking for file ‘/private/var/folders/0b/s1x9xvgx4ggccbm_3x50sp_r0000gn/T/RtmpWjRrT9/remotes92a95fb16cdd/OpenDroneMap-FIELDimageR-c0a3f92/DESCRIPTION’ (340ms)
─  preparing ‘FIELDimageR’:
✔  checking DESCRIPTION meta-information
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Omitted ‘LazyData’ from DESCRIPTION
─  building ‘FIELDimageR_0.3.3.tar.gz’

* installing *source* package ‘FIELDimageR’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error: object ‘elide’ is not exported by 'namespace:maptools'
Execution halted
ERROR: lazy loading failed for package ‘FIELDimageR’
* removing ‘/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/FIELDimageR’
Warning message:
In i.p(...) :
  installation of package ‘/var/folders/0b/s1x9xvgx4ggccbm_3x50sp_r0000gn/T//RtmpWjRrT9/file92a97962523f/FIELDimageR_0.3.3.tar.gz’ had non-zero exit status"

Please let me know if you have any tips to solve this error. I have downloaded the maptools package, terra, sp.

nfahlgren commented 1 year ago

It should be fixed now, they moved elide from maptools to sp