Skip to content

Commit e52913a

Browse files
committed
Fix for 3.6 RNG warning in tests
suppressWarnings(RNGversion("3.5.0"))
1 parent 980b4b2 commit e52913a

File tree

113 files changed

+924
-921
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+924
-921
lines changed

R/simulator.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ Simulator <- R6::R6Class(
371371
#' with a new seed on each repeat (itself deterministically derived from set\_seed).
372372
#' }
373373
#' \item{\code{save_interval}}{
374-
#' \code{integer}. Save only every \code{save_interval} time steps.
374+
#' \code{integer}. Write data to historyonly every \code{save_interval} time steps. Default is 1.
375375
#' }
376376
#' \item{\code{save_context}}{
377377
#' \code{logical}. Save the context matrices \code{X} to the History log during a simulation?
@@ -450,7 +450,6 @@ Simulator <- R6::R6Class(
450450
#'
451451
#' policy <- EpsilonGreedyPolicy$new(epsilon = 0.1)
452452
#' bandit <- BasicBernoulliBandit$new(weights = c(0.6, 0.1, 0.1))
453-
#'
454453
#' agent <- Agent$new(policy, bandit, name = "E.G.", sparse = 0.5)
455454
#'
456455
#' history <- Simulator$new(agents = agent,

docs/articles/cmabs.html

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

0 commit comments

Comments
 (0)