Skip to content

Commit

Permalink
suggest qs2
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Nov 18, 2024
1 parent dfaf57c commit 2e88d9e
Show file tree
Hide file tree
Showing 13 changed files with 301 additions and 206 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Description: Bayesian data analysis usually incurs long runtimes
For the underlying methodology, please refer
to the documentation of 'targets' <doi:10.21105/joss.02959> and 'JAGS'
(Plummer 2003) <https://www.r-project.org/conferences/DSC-2003/Proceedings/Plummer.pdf>.
Version: 1.2.1.9000
Version: 1.2.2
License: MIT + file LICENSE
URL: https://docs.ropensci.org/jagstargets/, https://github.com/ropensci/jagstargets
BugReports: https://github.com/ropensci/jagstargets/issues
Expand Down Expand Up @@ -43,6 +43,7 @@ Imports:
posterior (>= 1.0.1),
purrr (>= 0.3.4),
qs (>= 0.23.2),
qs2,
R2jags (>= 0.6.1),
rjags (>= 4.10),
rlang (>= 0.4.10),
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# jagstargets 1.2.1.9000 (development)

# jagstargets 1.2.2

* Suggest `qs2`.

# jagstargets 1.2.1

Expand Down
2 changes: 1 addition & 1 deletion R/tar_jags.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
#' such as `"feather"` or `"aws_parquet"`. For more on storage formats,
#' see the help file of `targets::tar_target()`.
#' @examples
#' if (requireNamespace("R2jags", quietly = TRUE)) {
#' if (identical(Sys.getenv("TAR_JAGS_EXAMPLES"), "true")) {
#' targets::tar_dir({ # tar_dir() runs code from a temporary directory.
#' targets::tar_script({
#' library(jagstargets)
Expand Down
2 changes: 2 additions & 0 deletions R/tar_jags_rep.R
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ tar_jags_rep <- function(
#' @param batch Positive integer of length 1, index of the current batch.
#' @param command R code to run to generate one dataset.
#' @examples
#' if (identical(Sys.getenv("TAR_JAGS_EXAMPLES"), "true")) {
#' tar_jags_rep_data_batch(2, 1, tar_jags_example_data())
#' }
tar_jags_rep_data_batch <- function(reps, batch, command) {
envir <- parent.frame()
command <- substitute(command)
Expand Down
2 changes: 1 addition & 1 deletion R/tar_jags_rep_dic.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#' @inheritSection tar_jags Target objects
#' @inheritParams tar_jags_rep
#' @examples
#' if (requireNamespace("R2jags", quietly = TRUE)) {
#' if (identical(Sys.getenv("TAR_JAGS_EXAMPLES"), "true")) {
#' targets::tar_dir({ # tar_dir() runs code from a temporary directory.
#' targets::tar_script({
#' library(jagstargets)
Expand Down
2 changes: 1 addition & 1 deletion R/tar_jags_rep_draws.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#' @inheritSection tar_jags Target objects
#' @inheritParams tar_jags_rep
#' @examples
#' if (requireNamespace("R2jags", quietly = TRUE)) {
#' if (identical(Sys.getenv("TAR_JAGS_EXAMPLES"), "true")) {
#' targets::tar_dir({ # tar_dir() runs code from a temporary directory.
#' targets::tar_script({
#' library(jagstargets)
Expand Down
2 changes: 1 addition & 1 deletion R/tar_jags_rep_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#' @inheritSection tar_jags Target objects
#' @inheritParams tar_jags_rep
#' @examples
#' if (requireNamespace("R2jags", quietly = TRUE)) {
#' if (identical(Sys.getenv("TAR_JAGS_EXAMPLES"), "true")) {
#' targets::tar_dir({ # tar_dir() runs code from a temporary directory.
#' targets::tar_script({
#' library(jagstargets)
Expand Down
98 changes: 58 additions & 40 deletions man/tar_jags.Rd

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

96 changes: 57 additions & 39 deletions man/tar_jags_rep.Rd

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

2 changes: 2 additions & 0 deletions man/tar_jags_rep_data_batch.Rd

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

Loading

0 comments on commit 2e88d9e

Please sign in to comment.