From da4d728bca2a6c234c3d9d41acf35eec9d8de62d Mon Sep 17 00:00:00 2001 From: pat-s Date: Fri, 29 Nov 2024 10:56:36 +0100 Subject: [PATCH] precommit --- .pre-commit-config.yaml | 4 ++-- R/autoplot.R | 2 +- man/autoplot.ResamplingSpCVBlock.Rd | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1214f736..6a57a8a4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # R specific hooks: https://github.com/lorenzwalthert/precommit repos: - repo: https://github.com/lorenzwalthert/precommit - rev: v0.3.2.9027 + rev: v0.4.3.9003 hooks: - id: style-files args: [--style_pkg=styler.mlr, --style_fun=mlr_style] @@ -33,7 +33,7 @@ repos: # uncomment after https://github.com/lorenzwalthert/precommit/issues/352 # - id: deps-in-desc - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-added-large-files args: ["--maxkb=1000"] diff --git a/R/autoplot.R b/R/autoplot.R index c8febe5d..52734d92 100644 --- a/R/autoplot.R +++ b/R/autoplot.R @@ -48,7 +48,7 @@ #' When no single fold is selected, the [ggsci::scale_color_ucscgb()] palette #' is used to display all partitions. #' If you want to change the colors, call ` + ()`. -#' @return [ggplot()] or list of ggplot2 objects. +#' @return [ggplot2::ggplot()] or list of ggplot2 objects. #' @name autoplot.ResamplingSpCVBlock #' @seealso #' - mlr3book chapter on ["Spatial Analysis"](https://mlr3book.mlr-org.com/chapters/chapter13/beyond_regression_and_classification.html#sec-spatiotemporal) diff --git a/man/autoplot.ResamplingSpCVBlock.Rd b/man/autoplot.ResamplingSpCVBlock.Rd index 23c3b75e..a242b324 100644 --- a/man/autoplot.ResamplingSpCVBlock.Rd +++ b/man/autoplot.ResamplingSpCVBlock.Rd @@ -87,7 +87,7 @@ mlr3 spatial resampling object. One of class \link{ResamplingSpCVBuffer}, \link{ResamplingSpCVBlock}, \link{ResamplingSpCVCoords}, \link{ResamplingSpCVEnv}.} } \value{ -\code{\link[=ggplot]{ggplot()}} or list of ggplot2 objects. +\code{\link[ggplot2:ggplot]{ggplot2::ggplot()}} or list of ggplot2 objects. } \description{ Generic S3 \code{plot()} and \code{autoplot()} (ggplot2) methods to