From 0dbca97c2702e270f5250613de1a23f657d24a09 Mon Sep 17 00:00:00 2001 From: VisruthSK Date: Tue, 7 Apr 2026 22:12:22 -0700 Subject: [PATCH 1/2] Fixed warning --- R/loo-package.R | 5 ++--- man/loo-package.Rd | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/R/loo-package.R b/R/loo-package.R index 70e58047..c45dba48 100644 --- a/R/loo-package.R +++ b/R/loo-package.R @@ -1,7 +1,6 @@ #' Efficient LOO-CV and WAIC for Bayesian models #' -#' @docType package -#' @name loo-package +#' @keywords internal #' #' @importFrom stats sd var quantile setNames weights rnorm qnorm #' @importFrom matrixStats logSumExp colLogSumExps colSums2 colVars colMaxs @@ -89,4 +88,4 @@ #' for the generalized Pareto distribution. *Technometrics* **51**, #' 316-325. #' -NULL +"_PACKAGE" diff --git a/man/loo-package.Rd b/man/loo-package.Rd index 3b77ed7c..1756dac8 100644 --- a/man/loo-package.Rd +++ b/man/loo-package.Rd @@ -140,3 +140,4 @@ Other contributors: } } +\keyword{internal} From 4b6e60857ad56ff13b1573f2f5b27e89315e95cb Mon Sep 17 00:00:00 2001 From: VisruthSK Date: Wed, 8 Apr 2026 15:39:36 -0700 Subject: [PATCH 2/2] Export package docs --- R/loo-package.R | 2 -- man/loo-package.Rd | 1 - 2 files changed, 3 deletions(-) diff --git a/R/loo-package.R b/R/loo-package.R index c45dba48..f8c2286b 100644 --- a/R/loo-package.R +++ b/R/loo-package.R @@ -1,7 +1,5 @@ #' Efficient LOO-CV and WAIC for Bayesian models #' -#' @keywords internal -#' #' @importFrom stats sd var quantile setNames weights rnorm qnorm #' @importFrom matrixStats logSumExp colLogSumExps colSums2 colVars colMaxs #' diff --git a/man/loo-package.Rd b/man/loo-package.Rd index 1756dac8..3b77ed7c 100644 --- a/man/loo-package.Rd +++ b/man/loo-package.Rd @@ -140,4 +140,3 @@ Other contributors: } } -\keyword{internal}