James Laird-Smith

Results 11 issues of James Laird-Smith

Slight change of language to say that functions generated by `void_tag()` error when given "child tags", rather than "unnamed tags" and that those child tags are captured by "unnamed dots"....

I'm wondering if there is a purrr function that detects whether an element with a given name appears in a list. For example, in the following code: ``` > library(purrr)...

feature
pluck :pear:

I have a use case where I'd like some code to run when a user's R session ends. Currently, when I use `defer_parent()` there is the following message that is...

It seems that it would sometimes be useful to capture the set of acceptable values for an argument. This would save you having to duplicate them in the function body....

It seems like (not) specifying a time zone makes datetime columns print differently? ``` r library(tibble) chr_date # A tibble: 1 × 2 #> a b #> #> 1 2023-04-05...

Working with JFROG Artifactory, one can occasionally encounter an empty PACKAGES file. I think it's nice to warn when this happens (which is the current behaviour, see below), although an...

https://github.com/r-lib/pak/blob/d791187ade9d9c2eb2f47adb685a37b5b6e3fe3e/R/package.R#L211 There might be a reason for this, but was expecting something like `pkg_deps(c("tidyverse", "tidymodels"))` to work? ``` r library(pak) pkg_deps(c("tidyverse", "tidymodels")) #> Error in pkg_deps(c("tidyverse", "tidymodels")): length(pkg) == 1...

I'm trying to install source packages on Windows using R version 4.3.3. I think I'm supposed to be allowed to use `options(pkg.platforms = "source")`. The problem is that when I...

Two tweaks here would have helped me understand the "auto" option for creating navigation in websites a little bit better. - Using `_index.qmd` instead of `index.qmd` because the latter creates...