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

SpacialEco requierment #50

Closed benlopez15 closed 5 months ago

benlopez15 commented 9 months ago

Is there a fix for the SpatialEco requirement yet?

ERROR: dependency 'spatialEco' is not available for package 'FIELDimageR'

nfahlgren commented 9 months ago

I believe the fix will not be easy and is related to #44. The R geospatial ecosystem is moving to a completely new set of packages. The SpatialEco package updated to use sf and the function used by FIELDimageR, polyPerimeter, now requires an sf polygon as input. So to use the newer versions of SpatialEco would require updating FIELDimageR to use sf instead of sp and related tools.

But it should probably be possible to specify that the version of SpatialEco must be < 2.

nfahlgren commented 9 months ago

I added a constraint to SpatialEco in #51 that you could try

filipematias23 commented 9 months ago

Hi everyone, we are working on updating FIELDimageR and for now we are removing polyPerimeter and spacialEco from the package... Installation seems working ok now... Thanks for understanding.

ArtKata commented 8 months ago

Is there a way to use the previous version somehow? or R just won't let us?

filipematias23 commented 8 months ago

Hi everyone,

Could you try installing it again?

devtools::install_github("OpenDroneMap/FIELDimageR")

Let us know if it works..!

All the best, Filipe

Em qui., 26 de out. de 2023 às 05:34, Artūrs Katamadze < @.***> escreveu:

Is there a way to use the previous version somehow? or R just won't let us?

— Reply to this email directly, view it on GitHub https://github.com/OpenDroneMap/FIELDimageR/issues/50#issuecomment-1780659590, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXDBCD467JATZJMFZJM4GDYBIOBTAVCNFSM6AAAAAA6JPHHR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBQGY2TSNJZGA . You are receiving this because you commented.Message ID: @.***>