fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.8K
active users

#testthat

1 post1 participant0 posts today
Data Science<p>Discover the power of property-based testing in R with the <a href="https://genomic.social/tags/quickcheck" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quickcheck</span></a> package! Seamlessly integrates with <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> and offers a variety of generators for atomic vectors, lists, and tibbles. Perfect for ensuring your code's reliability. Check it out: <a href="https://github.com/armcn/quickcheck" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/armcn/quickcheck</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/rprogramming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rprogramming</span></a> <a href="https://genomic.social/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a></p>
Data Science<p>{testthat} is great for automatic testing. Here are some tricks for the heavy user: <a href="https://blog.r-hub.io/2020/11/18/testthat-utility-belt/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.r-hub.io/2020/11/18/testt</span><span class="invisible">hat-utility-belt/</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a> <a href="https://genomic.social/tags/unittest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unittest</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a></p>
Data Science<p>Its good to have many tests in your R package, but it can be a pain to debug some failing tests when it happens. {lazytest} for the rescue: only rerun the failing tests, until they pass: <a href="https://lazytest.cynkra.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lazytest.cynkra.com/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> <a href="https://genomic.social/tags/lazy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lazy</span></a></p>
Data Science<p>Discover the power of property-based testing in R with the <a href="https://genomic.social/tags/quickcheck" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quickcheck</span></a> package! Seamlessly integrates with <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> and offers a variety of generators for atomic vectors, lists, and tibbles. Perfect for ensuring your code's reliability. Check it out: <a href="https://github.com/armcn/quickcheck" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/armcn/quickcheck</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/rprogramming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rprogramming</span></a> <a href="https://genomic.social/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a></p>
Data Science<p>{testthat} is great for automatic testing. Here are some tricks for the heavy user: <a href="https://blog.r-hub.io/2020/11/18/testthat-utility-belt/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.r-hub.io/2020/11/18/testt</span><span class="invisible">hat-utility-belt/</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a> <a href="https://genomic.social/tags/unittest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unittest</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a></p>
Data Science<p>Its good to have many tests in your R package, but it can be a pain to debug some failing tests when it happens. {lazytest} for the rescue: only rerun the failing tests, until they pass: <a href="https://lazytest.cynkra.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lazytest.cynkra.com/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> <a href="https://genomic.social/tags/lazy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lazy</span></a></p>
Data Science<p>Discover the power of property-based testing in R with the <a href="https://genomic.social/tags/quickcheck" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quickcheck</span></a> package! Seamlessly integrates with <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> and offers a variety of generators for atomic vectors, lists, and tibbles. Perfect for ensuring your code's reliability. Check it out: <a href="https://github.com/armcn/quickcheck" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/armcn/quickcheck</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/rprogramming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rprogramming</span></a> <a href="https://genomic.social/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a></p>
Data Science<p>{testthat} is great for automatic testing. Here are some tricks for the heavy user: <a href="https://blog.r-hub.io/2020/11/18/testthat-utility-belt/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.r-hub.io/2020/11/18/testt</span><span class="invisible">hat-utility-belt/</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a> <a href="https://genomic.social/tags/unittest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unittest</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a></p>
Zhian N. Kamvar<p>A common <a href="https://hachyderm.io/tags/TestThat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TestThat</span></a> frustration I have is trying to track down where messages are coming from in the tests so I can test for them and then suppress them. </p><p>Does anyone know a good way of sussing them out other than running test by test? </p><p><a href="https://hachyderm.io/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a></p>
Data Science<p>Its good to have many tests in your R package, but it can be a pain to debug some failing tests when it happens. {lazytest} for the rescue: only rerun the failing tests, until they pass: <a href="https://lazytest.cynkra.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lazytest.cynkra.com/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> <a href="https://genomic.social/tags/lazy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lazy</span></a></p>
Alex Axthelm<p><a href="https://fosstodon.org/tags/rstats" class="mention hashtag" rel="tag">#<span>rstats</span></a> <a href="https://fosstodon.org/tags/testthat" class="mention hashtag" rel="tag">#<span>testthat</span></a> <a href="https://fosstodon.org/tags/codecov" class="mention hashtag" rel="tag">#<span>codecov</span></a> <br />Edit: uploading results from the different runners worked! I was just impatient.</p><p>Question </p><p>I have a function that has different behavior on Windows and (MacOS/Linux). I have tests that correctly check all of this (using testthat::skip_on_os() ). Everything is working as intended. </p><p>But when I run my CI checks, codecov marks the “windows” lines as untested. My naive solution of running the codecov action on a windows runner is also not solving it. </p><p>Any suggestions?</p>
Data Science<p>Discover the power of property-based testing in R with the <a href="https://genomic.social/tags/quickcheck" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quickcheck</span></a> package! Seamlessly integrates with <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> and offers a variety of generators for atomic vectors, lists, and tibbles. Perfect for ensuring your code's reliability. Check it out: <a href="https://github.com/armcn/quickcheck" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/armcn/quickcheck</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/rprogramming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rprogramming</span></a> <a href="https://genomic.social/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a></p>
Data Science<p>{testthat} is great for automatic testing. Here are some tricks for the heavy user: <a href="https://blog.r-hub.io/2020/11/18/testthat-utility-belt/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.r-hub.io/2020/11/18/testt</span><span class="invisible">hat-utility-belt/</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a> <a href="https://genomic.social/tags/unittest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unittest</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a></p>
Data Science<p>Its good to have many tests in your R package, but it can be a pain to debug some failing tests when it happens. {lazytest} for the rescue: only rerun the failing tests, until they pass: <a href="https://lazytest.cynkra.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lazytest.cynkra.com/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> <a href="https://genomic.social/tags/lazy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lazy</span></a></p>
Manuel Landesfeind<p>Hive mind, do you employ (unit) testing in data analysis scripts? If so, how and what are your best practices? </p><p>We frequently develop packages with unit testing. But equally often write "run-once" analysis scripts/notebooks. Those often contain functions and (more often) assumptions on loaded data but we rarely test/check these. This is something to improve but I wonder how others handle this.</p><p><a href="https://genomic.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://genomic.social/tags/rmarkdown" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rmarkdown</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> <a href="https://genomic.social/tags/assertthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>assertthat</span></a> <a href="https://genomic.social/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://genomic.social/tags/jupyter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jupyter</span></a> <a href="https://genomic.social/tags/unittesting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unittesting</span></a> <a href="https://genomic.social/tags/datascience" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>datascience</span></a> <a href="https://genomic.social/tags/bioinformatics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bioinformatics</span></a></p>
Aditya Dahiya<p><a href="https://mastodon.social/tags/TidyTuesday" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TidyTuesday</span></a> <span class="h-card" translate="no"><a href="https://fosstodon.org/@ShinyConf" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ShinyConf</span></a></span> How are packages linked to <span class="h-card" translate="no"><a href="https://fosstodon.org/@Posit" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Posit</span></a></span>'s {shiny}. For linked packages, the most popular imports are <a href="https://mastodon.social/tags/dplyr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dplyr</span></a> &amp; <a href="https://mastodon.social/tags/ggplot2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot2</span></a>. Most common suggestions are <a href="https://mastodon.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a>, <span class="h-card" translate="no"><a href="https://mastodon.social/@rmarkdown" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>rmarkdown</span></a></span> and <a href="https://mastodon.social/tags/knitr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>knitr</span></a>.<br>Data: <a href="https://mastodon.social/tags/ShinyConf2024" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ShinyConf2024</span></a>, <span class="h-card" translate="no"><a href="https://fosstodon.org/@tracykteal" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>tracykteal</span></a></span> &amp; <span class="h-card" translate="no"><a href="https://fosstodon.org/@jonthegeek" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jonthegeek</span></a></span> <br>Code🔗<a href="https://tinyurl.com/tidy-shny" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">tinyurl.com/tidy-shny</span><span class="invisible"></span></a><br>Tools: <a href="https://mastodon.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://mastodon.social/tags/ggplot2" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ggplot2</span></a> <a href="https://mastodon.social/tags/treemapify" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>treemapify</span></a></p>
Data Science<p>{testthat} is great for automatic testing. Here are some tricks for the heavy user: <a href="https://blog.r-hub.io/2020/11/18/testthat-utility-belt/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.r-hub.io/2020/11/18/testt</span><span class="invisible">hat-utility-belt/</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a> <a href="https://genomic.social/tags/unittest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unittest</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a></p>
Data Science<p>Its good to have many tests in your R package, but it can be a pain to debug some failing tests when it happens. {lazytest} for the rescue: only rerun the failing tests, until they pass: <a href="https://lazytest.cynkra.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lazytest.cynkra.com/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> <a href="https://genomic.social/tags/lazy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lazy</span></a></p>
Data Science<p>{testthat} is great for automatic testing. Here are some tricks for the heavy user: <a href="https://blog.r-hub.io/2020/11/18/testthat-utility-belt/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.r-hub.io/2020/11/18/testt</span><span class="invisible">hat-utility-belt/</span></a> <a href="https://genomic.social/tags/rstats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rstats</span></a> <a href="https://genomic.social/tags/testing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testing</span></a> <a href="https://genomic.social/tags/unittest" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unittest</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a></p>
Data Science<p>Its good to have many tests in your R package, but it can be a pain to debug some failing tests when it happens. {lazytest} for the rescue: only rerun the failing tests, until they pass: <a href="https://lazytest.cynkra.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lazytest.cynkra.com/</span><span class="invisible"></span></a> <a href="https://genomic.social/tags/RStats" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RStats</span></a> <a href="https://genomic.social/tags/testthat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>testthat</span></a> <a href="https://genomic.social/tags/lazy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lazy</span></a></p>