mitchelloharawild / distributional

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

add is_distribution #51

Closed davidtedfordholt closed 3 years ago

davidtedfordholt commented 3 years ago

As the example shows, this allows the mutate(across(is_distribution, ...)) pattern, especially useful in fable objects.

codecov-io commented 3 years ago

Codecov Report

Merging #51 into master will decrease coverage by 0.04%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
- Coverage   62.80%   62.76%   -0.05%     
==========================================
  Files          45       45              
  Lines        1296     1297       +1     
==========================================
  Hits          814      814              
- Misses        482      483       +1     
Impacted Files Coverage Δ
R/distribution.R 42.10% <0.00%> (-0.38%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6529c06...5dbdcde. Read the comment docs.

davidtedfordholt commented 3 years ago

writing a test or two now!

davidtedfordholt commented 3 years ago

I'll figure out the right way to get things added one of these days!