coolbutuseless · @coolbutuseless
384 followers · 1036 posts · Server fosstodon.org

Is it just me, or does {bit64} and {testthat} behave unexpectdly?

In this example, {testthat} thinks that these two bit64::integer64 values are the same, and does not throw an error?

A reproduction on someone else's machine would be welcomed!

Is it because {testthat} is doing a comparison of the underlying floating point value, rather than using bit64's idea of equality?

#rstats #testthat #bit

Last updated 2 years ago

Datascience :verified: · @datascience
437 followers · 255 posts · Server genomic.social

{tetthat} is great for automatic testing. Here are some tricks for the heavy user: blog.r-hub.io/2020/11/18/testt

#RStats #testing #unittest #testthat

Last updated 2 years ago

Zhian N Kamvar :rstats: · @zkamvar
245 followers · 772 posts · Server fosstodon.org

I can not remember who said it (possibly @jennybryan), but there is a refrain that goes something like "if you do not test your software, your users are the tests."

Does anyone have a source on this?

#rstats #unittesting #testthat

Last updated 2 years ago

Datascience :verified: · @datascience
224 followers · 137 posts · Server genomic.social

{tetthat} is great for automatic testing. Here are some tricks for the heavy user: blog.r-hub.io/2020/11/18/testt

#RStats #testing #unittest #testthat

Last updated 2 years ago