Open-EO / openeo-r-client

R client package for working with openEO backends

Home Page:https://open-eo.github.io/openeo-r-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`describe_collection()` error

sheilasaia opened this issue · comments

I'm new to the openeo R package and wanted to explore some of it's capabilities, but am running into an error while following the vignette here. If the issue comes from me needing to be logged in to use the describe_collection() function, I recommend putting the function use example below the login section of the vignette to avoid confusion. If being logged in doesn't matter for that function, I wanted to report this error that I received.

My code:

library(openeo)
openeo::connect(host="https://earthengine.openeo.org")
colls = openeo::list_collections()
openeo::describe_collection(collection = colls$`LANDSAT/LC08/C02/T1_L2`)

The error:
"Error in missing(collection) || length(collection) == 0 || is.na(collection) : 'length = 10' in coercion to 'logical(1)'"

Upon further inspection, when I run length(colls$LANDSAT/LC08/C02/T1_L2) I get 10 and when I run missing(colls$LANDSAT/LC08/C02/T1_L2), I get an invalid use of missing() error.

Thank you for all your hard working developing this interesting package! 🛰️🌎💻