Skip to content

Commit

Permalink
setup tests to run and fixed documentation for parallel_stan
Browse files Browse the repository at this point in the history
  • Loading branch information
JWiley committed Nov 12, 2014
1 parent 07a5856 commit ff67230
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Title: Variability Analysis in R
Description: The varian package estimates the variability in a repeated
measure outcome and uses that as an outcome or a predictor in a second stage
model.
Date: 2014-09-24
Date: 2014-11-12
Authors@R: c(person(
"Joshua", "Wiley", "F.", "[email protected]", c("aut", "cre")),
person("Elkhart Group Limited", role = "cph"))
Expand All @@ -20,5 +20,7 @@ Imports:
Formula,
grid,
gridExtra
Suggests:
testthat
LazyLoad: yes
License: MIT + file LICENSE
1 change: 1 addition & 0 deletions R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ simulate_gvm <- function(n, k, mu, mu.sigma, sigma.shape, sigma.rate, seed = 534
#' @param sample_file The sample file for Stan
#' @param diagnostic_file The diagnostic file for Stan
#' @param init A character string (\dQuote{random}) or a named list of starting values.
#' @param \dots Additional arguments, not currently used.
#' @return a named list with three elements, the \code{results},
#' compiled Stan \code{model}, and the random \code{seeds}
#' @author Joshua F. Wiley <josh@@elkhartgroup.com>
Expand Down
2 changes: 2 additions & 0 deletions man/parallel_stan.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ compiling \code{model_code}.}
\item{diagnostic_file}{The diagnostic file for Stan}

\item{init}{A character string (\dQuote{random}) or a named list of starting values.}

\item{\dots}{Additional arguments, not currently used.}
}
\value{
a named list with three elements, the \code{results},
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
library(testthat)
test_check("varian")

0 comments on commit ff67230

Please sign in to comment.