Hadley Wickham

Results 873 issues of Hadley Wickham

Is there any existing function that does this? ```R x list(c("a", "b"), c("d", "e", "f"), "g") split_length(x, 2) #> list("ab", c("de", "f"), "g") ``` I feel like this has to...

Sometimes you know what a character should be, and you know how it's stored in a file, and you want to figure out what encoding it might have been (e.g....

For testing purposes it would be really useful to have `stri_escape_latin1` which would generate the escape sequences to generate a latin1 string in R.

new feature

Seems like it would make sense to have a version of `str_sub()` that let you specify how the string was decomposed into subunits.

question

Which implements https://chromedevtools.github.io/devtools-protocol/tot/Input

feature

2020 * [x] `usethis::use_package_doc()` Consider letting usethis manage your `@importFrom` directives here. `usethis::use_import_from()` is handy for this. * [x] `usethis::use_testthat(3)` and upgrade to 3e, [testthat 3e vignette](https://testthat.r-lib.org/articles/third-edition.html) * [x] Align...

Not strictly part of libgit2, but would be nice to have

It's often useful to be able to "shallow" clone a repo, e.g. `git clone URL --depth 1 --no-hardlinks`. Could we please have depth option for `clone()`

``` R > summary(diff(repository("."))) Old: index New: workdir No changes. > system("git diff") diff --git a/R/git.R b/R/git.R index 7cb7b6d..38fab7d 100644 --- a/R/git.R +++ b/R/git.R @@ -28,8 +28,9 @@ git_sha1

i.e. combining global and local settings ``` R c