Skip to content

Commit

Permalink
Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Dec 5, 2023
1 parent 028c102 commit 7065307
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ Suggests:
torch (>= 0.1.0),
usethis (>= 1.6.3),
visNetwork (>= 2.1.2)
Additional_repositories:
https://mschubert.r-universe.dev
Encoding: UTF-8
Language: en-US
VignetteBuilder: knitr
Expand Down
4 changes: 2 additions & 2 deletions R/tar_seed_create.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#' see the Section 6: "Random-number generation" in the `parallel`
#' package vignette: `vignette(topic = "parallel", package = "parallel")`.)
#' However, this risk is extremely small in practice, as shown by
#' L'Ecuyer et al. (2017) <https://doi.org/10.1016/j.matcom.2016.05.005>
#' L'Ecuyer et al. (2017) \doi{10.1016/j.matcom.2016.05.005}
#' under "A single RNG with a 'random' seed for each stream" (Section 4:
#' under "How to produce parallel streams and substreams").
#'
Expand Down Expand Up @@ -59,7 +59,7 @@
#' Pierre L'Ecuyer, David Munger, Boris Oreshkin, and Richard Simard
#' (2017). Random numbers for parallel computers: Requirements and methods,
#' with emphasis on GPUs. Mathematics and Computers in Simulation,
#' 135, 3-17. <https://doi.org/10.1016/j.matcom.2016.05.005>.
#' 135, 3-17. \doi{10.1016/j.matcom.2016.05.005}.
tar_seed_create <- function(name, global_seed = NULL) {
if (is.null(global_seed)) {
global_seed <- tar_options$get_seed()
Expand Down
2 changes: 1 addition & 1 deletion R/tar_seed_get.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#' Pierre L'Ecuyer, David Munger, Boris Oreshkin, and Richard Simard
#' (2017). Random numbers for parallel computers: Requirements and methods,
#' with emphasis on GPUs. Mathematics and Computers in Simulation,
#' 135, 3-17. <https://doi.org/10.1016/j.matcom.2016.05.005>.
#' 135, 3-17. \doi{10.1016/j.matcom.2016.05.005}.
#' @return Integer of length 1. If invoked inside a `targets` pipeline,
#' the return value is the seed of the target currently running,
#' which is a deterministic function of the target name. Otherwise,
Expand Down
2 changes: 1 addition & 1 deletion R/tar_seed_set.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#' Pierre L'Ecuyer, David Munger, Boris Oreshkin, and Richard Simard
#' (2017). Random numbers for parallel computers: Requirements and methods,
#' with emphasis on GPUs. Mathematics and Computers in Simulation,
#' 135, 3-17. <https://doi.org/10.1016/j.matcom.2016.05.005>.
#' 135, 3-17. \doi{10.1016/j.matcom.2016.05.005}.
#' @return `NULL` (invisibly).
#' @param seed Integer of length 1, value of the seed to set
#' with `set.seed()`.
Expand Down
4 changes: 2 additions & 2 deletions man/tar_seed_create.Rd

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

4 changes: 2 additions & 2 deletions man/tar_seed_get.Rd

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

4 changes: 2 additions & 2 deletions man/tar_seed_set.Rd

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

0 comments on commit 7065307

Please sign in to comment.