mitchelloharawild / distributional

Vectorised distributions for R
https://pkg.mitchelloharawild.com/distributional
GNU General Public License v3.0
97 stars 15 forks source link

Default dist formatter doesn't work #67

Closed mitchelloharawild closed 2 years ago

mitchelloharawild commented 2 years ago

This should format the distributions with ?.

library(distributional)
new_dist(x = 3, class = "dist_test")
#> <distribution[1]>
#> Error in vapply(x, format, character(1L), ...): values must be type 'character',
#>  but FUN(X[[1]]) result is type 'list'

Created on 2021-10-11 by the reprex package (v2.0.0)