Skip to content

Commit

Permalink
Merge pull request #1188 from M3nin0/update/disable-detect-changes
Browse files Browse the repository at this point in the history
remove detect-change exports
  • Loading branch information
gilbertocamara authored Aug 2, 2024
2 parents 54273ab + 4e55a7e commit 7a40294
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,6 @@ S3method(sits_cube,default)
S3method(sits_cube,local_cube)
S3method(sits_cube,sar_cube)
S3method(sits_cube,stac_cube)
S3method(sits_detect_change,default)
S3method(sits_detect_change,raster_cube)
S3method(sits_detect_change,sits)
S3method(sits_get_data,csv)
S3method(sits_get_data,data.frame)
S3method(sits_get_data,default)
Expand Down Expand Up @@ -501,9 +498,6 @@ export(sits_config_show)
export(sits_config_user_file)
export(sits_cube)
export(sits_cube_copy)
export(sits_detect_change)
export(sits_detect_change_method)
export(sits_dtw)
export(sits_factory_function)
export(sits_filter)
export(sits_formula_linear)
Expand Down
4 changes: 0 additions & 4 deletions R/sits_detect_change.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#' each point (tibble of class "sits")
#' or a data cube indicating detections in each pixel
#' (tibble of class "detections_cube").
#' @export
sits_detect_change <- function(data,
cd_method,
...,
Expand All @@ -49,7 +48,6 @@ sits_detect_change <- function(data,
}

#' @rdname sits_detect_change
#' @export
sits_detect_change.sits <- function(data,
cd_method,
...,
Expand All @@ -74,7 +72,6 @@ sits_detect_change.sits <- function(data,
}

#' @rdname sits_detect_change
#' @export
sits_detect_change.raster_cube <- function(data,
cd_method, ...,
roi = NULL,
Expand Down Expand Up @@ -180,7 +177,6 @@ sits_detect_change.raster_cube <- function(data,
}

#' @rdname sits_detect_change
#' @export
sits_detect_change.default <- function(data, cd_method, ...) {
stop("Input should be a sits tibble or a data cube")
}
1 change: 0 additions & 1 deletion R/sits_detect_change_method.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#' @return Change detection method prepared
#' to be passed to
#' \code{\link[sits]{sits_detect_change}}
#' @export
sits_detect_change_method <- function(samples, cd_method = sits_dtw()) {
# set caller to show in errors
.check_set_caller("sits_detect_change_method")
Expand Down
2 changes: 0 additions & 2 deletions R/sits_dtw.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#' `samples`.
#' @return Change detection method prepared to be passed to
#' \code{\link[sits]{sits_detect_change_method}}
#' @export
#'
sits_dtw <-
function(samples = NULL,
...,
Expand Down

0 comments on commit 7a40294

Please sign in to comment.