Skip to content

Commit

Permalink
Merge pull request e-sensing#1123 from M3nin0/cran/1.5.0
Browse files Browse the repository at this point in the history
fix opensearch s3 exports
  • Loading branch information
gilbertocamara committed May 8, 2024
2 parents ca22a65 4bf743d commit eaf466f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 418,6 @@ S3method(summary,sits_accuracy)
S3method(summary,sits_area_accuracy)
export("sits_bands<-")
export("sits_labels<-")
export(.opensearch_cdse_extract_tile)
export(.opensearch_cdse_search)
export(impute_linear)
export(sits_accuracy)
export(sits_accuracy_summary)
Expand Down
4 changes: 0 additions & 4 deletions R/api_opensearch.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 148,13 @@
#' @title Extract `tile` from Open Search Items.
#' @keywords internal
#' @noRd
#'
#' @description
#' This function prepares an Open Search item to act as an STAC Item,
#' compatible with the `rstac` package. This is required to avoid changes in
#' other parts of the `sits` validation structure and to use features
#' from `rstac`.
#' @param items List of features compatible with `rstac` (`rstac::doc_items`).
#' @return List of tiles.
#' @export
.opensearch_cdse_extract_tile <- function(items) {
UseMethod(".opensearch_cdse_extract_tile")
}
Expand All @@ -183,7 181,6 @@
#' @title Search data using CDSE Open Search.
#' @keywords internal
#' @noRd
#'
#' @description
#' This auxiliary function is used to query the CDSE Open Search API. This is
#' a specialization of the `.opensearch_cdse_client` to handle the
Expand All @@ -204,7 201,6 @@
#' to manage if multiple pages should be requested.
#' @return List of features compatible with
#' `rstac` (`rstac::doc_items`).
#' @export
.opensearch_cdse_search <- function(product_type,
source,
collection,
Expand Down

0 comments on commit eaf466f

Please sign in to comment.