Skip to content

Commit 6b2889e

Browse files
committed
cleanup example of defining a method
1 parent 72c48c9 commit 6b2889e

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

R/loo.R

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,10 @@
162162
#' ### For package developers: defining loo methods
163163
#'
164164
#' # An example of a possible loo method for 'stanfit' objects (rstan package).
165-
#' # A similar method is planned for a future release of rstan (or is already
166-
#' # released, depending on when you are reading this). In order for users
167-
#' # to be able to call loo(stanfit) instead of loo.stanfit(stanfit) the
168-
#' # NAMESPACE needs to be handled appropriately (roxygen2 and devtools packages
169-
#' # are good for that).
165+
#' # A similar method is included in the rstan package.
166+
#' # In order for users to be able to call loo(stanfit) instead of
167+
#' # loo.stanfit(stanfit) the NAMESPACE needs to be handled appropriately
168+
#' # (roxygen2 and devtools packages are good for that).
170169
#' #
171170
#' loo.stanfit <-
172171
#' function(x,

man/loo.Rd

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)