Skip to content

Commit c9b5f16

Browse files
Merge pull request #1137 from M3nin0/hotfix/args-merge
update package version
2 parents 69e50bf + e5f703b commit c9b5f16

5 files changed

Lines changed: 13 additions & 1 deletion

File tree

‎DESCRIPTION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: sits
22
Type: Package
3-
Version: 1.5.0-1
3+
Version: 1.5.1
44
Title: Satellite Image Time Series Analysis for Earth Observation Data Cubes
55
Authors@R: c(person('Rolf', 'Simoes', role = c('aut'), email = 'rolf.simoes@inpe.br'),
66
person('Gilberto', 'Camara', role = c('aut', 'cre'), email = 'gilberto.camara.inpe@gmail.com'),

‎NAMESPACE‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,9 @@ S3method(sits_cube,default)
337337
S3method(sits_cube,local_cube)
338338
S3method(sits_cube,sar_cube)
339339
S3method(sits_cube,stac_cube)
340+
S3method(sits_detect_change,default)
341+
S3method(sits_detect_change,raster_cube)
342+
S3method(sits_detect_change,sits)
340343
S3method(sits_get_data,csv)
341344
S3method(sits_get_data,data.frame)
342345
S3method(sits_get_data,default)
@@ -440,6 +443,9 @@ export(sits_config)
440443
export(sits_config_show)
441444
export(sits_cube)
442445
export(sits_cube_copy)
446+
export(sits_detect_change)
447+
export(sits_detect_change_method)
448+
export(sits_dtw)
443449
export(sits_factory_function)
444450
export(sits_filter)
445451
export(sits_formula_linear)

‎R/sits_detect_change.R‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#' each point (tibble of class "sits")
3939
#' or a data cube indicating detections in each pixel
4040
#' (tibble of class "detections_cube").
41+
#' @export
4142
sits_detect_change <- function(data,
4243
cd_method,
4344
...,
@@ -48,6 +49,7 @@ sits_detect_change <- function(data,
4849
}
4950

5051
#' @rdname sits_detect_change
52+
#' @export
5153
sits_detect_change.sits <- function(data,
5254
cd_method,
5355
...,
@@ -72,6 +74,7 @@ sits_detect_change.sits <- function(data,
7274
}
7375

7476
#' @rdname sits_detect_change
77+
#' @export
7578
sits_detect_change.raster_cube <- function(data,
7679
cd_method, ...,
7780
roi = NULL,
@@ -177,6 +180,7 @@ sits_detect_change.raster_cube <- function(data,
177180
}
178181

179182
#' @rdname sits_detect_change
183+
#' @export
180184
sits_detect_change.default <- function(data, cd_method, ...) {
181185
stop("Input should be a sits tibble or a data cube")
182186
}

‎R/sits_detect_change_method.R‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#' @return Change detection method prepared
1313
#' to be passed to
1414
#' \code{\link[sits]{sits_detect_change}}
15+
#' @export
1516
sits_detect_change_method <- function(samples, cd_method = sits_dtw()) {
1617
# set caller to show in errors
1718
.check_set_caller("sits_detect_change_method")

‎R/sits_dtw.R‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#' used in operations with data cubes.
2020
#' @return Change detection method prepared to be passed to
2121
#' \code{\link[sits]{sits_detect_change_method}}
22+
#' @export
2223
sits_dtw <-
2324
function(samples = NULL,
2425
...,

0 commit comments

Comments
 (0)