Skip to content

Commit 89ae6c5

Browse files
committed
fix package validation
1 parent 52f301a commit 89ae6c5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

R/sits_segmentation.R

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,10 +434,9 @@ sits_snic <- function(data = NULL,
434434
grid_seeding = "rectangular",
435435
spacing = 10,
436436
compactness = 0.5,
437-
padding = floor(spacing/2)){
438-
437+
padding = floor(spacing / 2)) {
439438
# require slic package
440-
.check_require_packages("slic")
439+
.check_require_packages("snic")
441440
# set caller for error msg
442441
.check_set_caller("sits_snic")
443442
# spacing is OK?

0 commit comments

Comments
 (0)