Skip to content

Commit

Permalink
fix imports and depends
Browse files Browse the repository at this point in the history
  • Loading branch information
helske committed Aug 28, 2024
1 parent 9afa4e4 commit 6d81eab
Show file tree
Hide file tree
Showing 9 changed files with 5,191 additions and 5,625 deletions.
16 changes: 8 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,29 @@ Suggests:
rmarkdown (>= 0.8.1),
testthat
Depends:
R (>= 3.4.0),
Rcpp (>= 0.12.9),
rstan (>= 2.26.0)
Imports:
bayesplot,
R (>= 3.4.0)
Imports:
coda,
dplyr,
Hmisc,
ggplot2,
KFAS,
loo,
methods,
Rcpp (>= 0.12.9),
RcppParallel,
rlang,
rstan (>= 2.26.0),
rstantools (>= 2.0.0)
LinkingTo:
StanHeaders (>= 2.26.0),
rstan (>= 2.26.0),
LinkingTo:
BH (>= 1.66.0),
Rcpp (>= 0.12.9),
RcppArmadillo,
RcppEigen (>= 0.3.3.3.0),
RcppParallel
RcppParallel,
rstan (>= 2.26.0),
StanHeaders (>= 2.26.0)
SystemRequirements: GNU make
Biarch: true
VignetteBuilder: knitr
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export(walker)
export(walker_glm)
export(walker_rw1)
import(Rcpp)
import(bayesplot)
import(ggplot2)
import(methods)
import(rstan)
Expand Down
1 change: 0 additions & 1 deletion R/plot_coefs.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#' @importFrom rlang .data
#' @importFrom stats quantile time update.formula drop.terms
#' @import ggplot2
#' @import bayesplot
#' @param object An output from [walker()].
#' @param level Level for intervals. Default is 0.05, leading to 90% intervals.
#' @param alpha Transparency level for [ggplot2::geom_ribbon()].
Expand Down
5 changes: 3 additions & 2 deletions R/pp_check.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
#' \dontrun{
#' # Extracting the yrep variable for general use:
#' # extract yrep
#' y_rep <- extract(object$stanfit, pars = "y_rep", permuted = TRUE)$y_rep
#' y_rep <- rstan::extract(object$stanfit, pars = "y_rep", permuted = TRUE)$y_rep
#'
#' # For non-gaussian model:
#' weights <- extract(object$stanfit, pars = "weights", permuted = TRUE)$weights
#' weights <- rstan::extract(object$stanfit,
#' pars = "weights", permuted = TRUE)$weights
#' y_rep <- y_rep[sample(1:nrow(y_rep),
#' size = nrow(y_rep), replace = TRUE, prob = weights), , drop = FALSE]
#'}
Expand Down
5 changes: 3 additions & 2 deletions man/pp_check.walker_fit.Rd

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

2,134 changes: 1,034 additions & 1,100 deletions src/stanExports_rw1_model.h

Large diffs are not rendered by default.

1,214 changes: 569 additions & 645 deletions src/stanExports_rw1_model_naive.h

Large diffs are not rendered by default.

4,145 changes: 1,997 additions & 2,148 deletions src/stanExports_walker_glm.h

Large diffs are not rendered by default.

3,295 changes: 1,577 additions & 1,718 deletions src/stanExports_walker_lm.h

Large diffs are not rendered by default.

0 comments on commit 6d81eab

Please sign in to comment.