diff --git a/dev/news/index.html b/dev/news/index.html index 238e9cce..d703587f 100644 --- a/dev/news/index.html +++ b/dev/news/index.html @@ -61,7 +61,8 @@

purrr (development version)

-

purrr 1.0.1

CRAN release: 2023-01-10

diff --git a/dev/pkgdown.yml b/dev/pkgdown.yml index 47299f47..414b7add 100644 --- a/dev/pkgdown.yml +++ b/dev/pkgdown.yml @@ -4,7 +4,7 @@ pkgdown_sha: ~ articles: base: base.html other-langs: other-langs.html -last_built: 2023-07-26T21:49Z +last_built: 2023-07-27T19:40Z urls: reference: https://purrr.tidyverse.org/reference article: https://purrr.tidyverse.org/articles diff --git a/dev/reference/accumulate.html b/dev/reference/accumulate.html index 704c6621..112477f7 100644 --- a/dev/reference/accumulate.html +++ b/dev/reference/accumulate.html @@ -252,8 +252,8 @@

Examples# By ignoring the input vector (nxt), you can turn output of one step into # the input for the next. This code takes 10 steps of a random walk: accumulate(1:10, \(acc, nxt) acc + rnorm(1), .init = 0) -#> [1] 0.0000000 -0.9807608 -0.4424774 1.0058940 0.3651699 -1.2422227 -#> [7] -2.7882505 -2.6565198 -2.0352834 -1.4385414 0.1456856 +#> [1] 0.0000000 -0.1939272 -0.3413195 -1.6211198 -3.8284090 -2.4850584 +#> [7] -1.8804292 -1.5946893 -1.3272690 -1.1854501 -2.2403893 # `accumulate2()` is a version of `accumulate()` that works with # 3-argument functions and one additional vector: diff --git a/dev/reference/as_mapper.html b/dev/reference/as_mapper.html index 157abdfc..370e589e 100644 --- a/dev/reference/as_mapper.html +++ b/dev/reference/as_mapper.html @@ -123,35 +123,35 @@

ArgumentsExamples

as_mapper(\(x) x + 1)
 #> \(x) x + 1
-#> <environment: 0x56181a6f1818>
+#> <environment: 0x56161bcf0548>
 as_mapper(1)
 #> function (x, ...) 
 #> pluck_raw(x, list(1), .default = NULL)
-#> <environment: 0x56181a0294c0>
+#> <environment: 0x56161bc65e98>
 
 as_mapper(c("a", "b", "c"))
 #> function (x, ...) 
 #> pluck_raw(x, list("a", "b", "c"), .default = NULL)
-#> <environment: 0x561819f176b0>
+#> <environment: 0x56161bc0fec0>
 # Equivalent to function(x) x[["a"]][["b"]][["c"]]
 
 as_mapper(list(1, "a", 2))
 #> function (x, ...) 
 #> pluck_raw(x, list(1, "a", 2), .default = NULL)
-#> <environment: 0x56181a4b2010>
+#> <environment: 0x56161bbb3f90>
 # Equivalent to function(x) x[[1]][["a"]][[2]]
 
 as_mapper(list(1, attr_getter("a")))
 #> function (x, ...) 
 #> pluck_raw(x, list(1, function (x) 
 #> attr(x, attr, exact = TRUE)), .default = NULL)
-#> <environment: 0x56181a1b5fc0>
+#> <environment: 0x56161bb5c6f0>
 # Equivalent to function(x) attr(x[[1]], "a")
 
 as_mapper(c("a", "b", "c"), .default = NA)
 #> function (x, ...) 
 #> pluck_raw(x, list("a", "b", "c"), .default = NA)
-#> <environment: 0x561819a01948>
+#> <environment: 0x56161baa8b60>