Skip to content

Commit

Permalink
more doc templating
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry committed May 5, 2016
1 parent dfeb021 commit 355a972
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 16 deletions.
6 changes: 2 additions & 4 deletions R/launch_shinystan.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,8 @@ launch_shinystan <- function(object,
#' @param ... Optional arguments to pass to \code{\link[shiny]{runApp}}.
#' @return An S4 shinystan object.
#'
#' @seealso \code{\link{launch_shinystan}} for launching ShinyStan using your
#' own shinystan objects
#'
#' \code{\link{as.shinystan}} to create shinystan objects
#' @template seealso-launch
#' @template seealso-as.shinystan
#'
#' @examples
#' \dontrun{
Expand Down
4 changes: 2 additions & 2 deletions R/shinystan-objects.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ shinystan <- setClass(
#' \code{is.shinystan} returns \code{TRUE} if the tested object is a shinystan
#' object and \code{FALSE} otherwise.
#'
#' @seealso \code{\link{launch_shinystan}} to launch the ShinyStan interface
#' using a particular shinystan object
#' @template seealso-launch
#' @template seealso-drop_parameters
#' @template seealso-generate_quantity
#'
setGeneric("as.shinystan", function(X, ...) {
standardGeneric("as.shinystan")
Expand Down
4 changes: 2 additions & 2 deletions R/shinystan-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
#' }
#'
#' @template seealso-as.shinystan
#' @seealso \code{\link{launch_shinystan}} for launching the ShinyStan
#' interface.
#' @template seealso-demo
#' @template seealso-launch
#'
#' @import ggplot2
#' @import methods
Expand Down
2 changes: 2 additions & 0 deletions man-roxygen/seealso-launch.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#' @seealso \code{\link{launch_shinystan}} to launch the ShinyStan interface
#' using a particular shinystan object.
7 changes: 5 additions & 2 deletions man/as.shinystan.Rd

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

8 changes: 4 additions & 4 deletions man/launch_shinystan_demo.Rd

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

6 changes: 4 additions & 2 deletions man/shinystan-package.Rd

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

0 comments on commit 355a972

Please sign in to comment.