Tyler Smith

Results 16 issues of Tyler Smith

I believe the `TemporaryDatabase` example needs to be reworked. I understand the point to be made as far as "a final consequence". Even if you got rid of the use...

https://github.com/hadley/adv-r/blob/f6c437a8baff551ffff6b602c38f1210c615ad17/Quotation.Rmd#L578-L585 This isn't entirely true. ``` r lobstr::ast(`+`(1, `+`(2,3))) #> o-`+` #> +-1 #> \-o-`+` #> +-2 #> \-3 ``` Created on 2020-06-03 by the [reprex package](https://reprex.tidyverse.org) (v0.3.0)

the `pin_reactive_read` function sets up a `shiny::reactivePoll` object using `pin_created` as the `checkFunc`. However, this is not ideal, because `pin_created` only seems to return a timestamp with accuracy to the...

feature

I feel this is likely related to #822, but currently you cannot `zap` list elements. ``` r library(purrr) x named list() x $a #> $a[[1]] #> [1] 2 ```

This is a bit of a contrived example but demonstrates what I am talking about: ``` r library(recipes) mtcars$cyl Error in `vec_arith()`: #> ! * is not permitted ``` I...

Using `predcontrib = TRUE` to get Shapley values with the xgboost classifier learner causes errors because of mlr3 expecting a different prediction format. With `predcontrib = TRUE` xgboost returns a...

Status: Pending
Type: Learner Request

``` r sloop::s3_dispatch(vctrs::vec_arith("+", 2, 3)) #> Error: Mapped vectors must have consistent lengths: #> * `.x` has length 3 #> * `.y` has length 2 ``` Not sure if it...

bug

Not quite there yet... ``` r library(factory) new_counter Warning in as.list(fn_body) == before: longer object length is not a multiple of #> shorter object length counter_one [1] 2 counter_two() #>...

This would probably take some special logic to make work: ``` r factory_fun { #> b b$b #> } ``` Created on 2020-06-03 by the [reprex package](https://reprex.tidyverse.org) (v0.3.0)