foobar<-function(x=list()) structure(x, class="vctrs_foobar")
#> list()#> attr(,"class")#>  "vctrs_foobar"
#> Error: `x` must be a vector, not a `vctrs_foobar` object
With current master:
Created on 2020-02-11 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: