Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertocamara committed Dec 5, 2023
1 parent 4be8ab6 commit a07e2eb
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 19 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ Suggests:
randomForestExplainer,
RcppArmadillo (>= 0.12),
scales,
spdep,
stars (>= 0.6),
stringr,
supercells,
Expand Down
2 changes: 1 addition & 1 deletion R/sits_label_classification.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ sits_label_classification.probs_cube <- function(cube, ...,
version = "v1",
progress = TRUE) {
# Pre-conditions - Check parameters
.check_cube_files(cube)
.check_raster_cube_files(cube)
.check_memsize(memsize, min = 1, max = 16384)
.check_multicores(multicores, min = 1, max = 2048)
.check_output_dir(output_dir)
Expand Down
6 changes: 3 additions & 3 deletions R/sits_uncertainty.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ sits_uncertainty <- function(cube, ...,
#' @rdname sits_uncertainty
#' @export
sits_uncertainty.probs_cube <- function(
cube,
cube, ...,
type = "entropy",
multicores = 2,
memsize = 4,
Expand Down Expand Up @@ -121,7 +121,7 @@ sits_uncertainty.probs_cube <- function(
#' @rdname sits_uncertainty
#' @export
sits_uncertainty.probs_vector_cube <- function(
cube,
cube, ...,
type = "entropy",
multicores = 2,
memsize = 4,
Expand Down Expand Up @@ -151,7 +151,7 @@ sits_uncertainty.probs_vector_cube <- function(
#' @rdname sits_uncertainty
#' @export
sits_uncertainty.default <- function(
cube,
cube, ...,
type,
multicores,
memsize,
Expand Down
2 changes: 1 addition & 1 deletion man/plot.class_cube.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/plot.class_vector_cube.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plot.probs_cube.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plot.probs_vector_cube.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plot.raster_cube.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plot.uncertainty_cube.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plot.variance_cube.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/plot.vector_cube.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion man/sits_uncertainty.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a07e2eb

Please sign in to comment.