From ae82ea33719a27701728fa8f13bfd7cc9895571e Mon Sep 17 00:00:00 2001 From: James J Balamuta Date: Fri, 23 Feb 2024 16:03:09 -0800 Subject: [PATCH] Update roxygen2 package-level documentation entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes deprecation of `@docType package` by using `"_PACKAGE"`. ``` ✖ package.R:15: `@docType "package"` is deprecated. ℹ Please document "_PACKAGE" instead. ``` --- src/mlpack/bindings/R/mlpack/R/package.R | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mlpack/bindings/R/mlpack/R/package.R b/src/mlpack/bindings/R/mlpack/R/package.R index ea0a74bc69..4af8f3687b 100644 --- a/src/mlpack/bindings/R/mlpack/R/package.R +++ b/src/mlpack/bindings/R/mlpack/R/package.R @@ -5,11 +5,9 @@ #' learning algorithms. mlpack provides these algorithms as simple command-line #' programs, C++ classes and bindings for : Python, Julia, Go and R which can #' then be integrated into larger-scale machine learning solutions. -#' -#' @docType package +#' #' @name mlpack #' @aliases mlpack-package -#' @author mlpack Team #' @importFrom Rcpp evalCpp #' @useDynLib mlpack -NULL +"_PACKAGE"