Advertisement ยท 728 ร— 90
#
Hashtag
#testthat
Advertisement ยท 728 ร— 90
Preview
GitHub - maflot/ggdiceplot: R package for visualising high-dimensional categorical data. Fully ggplot compatible implementation for the diceplot plotting library R package for visualising high-dimensional categorical data. Fully ggplot compatible implementation for the diceplot plotting library - maflot/ggdiceplot

ggdiceplot 1.2.0 is now on CRAN. It fixes the 1.1.0 bug where no pips were rendered.
Lesson learned: we need better visual testing. Any recommendations for checking, in an automated way, that plots not only compile but also render as expected in R?
github.com/maflot/ggdic...
#CRAN #Datavis #testthat

0 0 0 0
R Packages Book Club: How should I work on my package? (2021-03-27) (rpkgs02)
R Packages Book Club: How should I work on my package? (2021-03-27) (rpkgs02) YouTube video by Data Science Learning Community Videos

From the DSLC.io aRchives:

๐Ÿ”ต R Packages: How should I work on my package? youtu.be/gr3vhN4XxWI

๐Ÿ”ต testthat docs: Reporters, Parallel Tests, & testthat 3e youtu.be/wMKDq49jLGQ

Visit dslc.video for hours of new #DataScience videos every week!

#dataBS #RStats #testthat

4 0 1 1
Preview
From RUnit to testthat with Coding Agent Support | Mirai Solutions GmbH We present an interesting case study: we migrated the test suite of our R package ๐—ซ๐—Ÿ๐—–๐—ผ๐—ป๐—ป๐—ฒ๐—ฐ๐˜ from ๐—ฅ๐—จ๐—ป๐—ถ๐˜ to ๐˜๐—ฒ๐˜€๐˜๐˜๐—ต๐—ฎ๐˜ using ๐—”๐—œ-๐—ฝ๐—ผ๐˜„๐—ฒ๐—ฟ๐—ฒ๐—ฑ ๐—ฐ๐—ผ๐—ฑ๐—ถ๐—ป๐—ด ๐—ฎ๐—ด๐—ฒ๐—ป๐˜๐˜€s. We used ๐—š๐—ผ๐—ผ๐—ด๐—น๐—ฒ ๐—๐˜‚๐—น๐—ฒ๐˜€, an asynchronous coding agent, to handle the repetitive, multi-file refactoring work. The process wasn't just about automation, it required careful context preparation, environment setup, and iterative prompt engineering. Key ๐˜๐—ฎ๐—ธ๐—ฒ๐—ฎ๐˜„๐—ฎ๐˜†๐˜€: โ€ข AI agents excel at tedious, semantics-aware tasks (like fixing ๐˜ฆ๐˜น๐˜ฑ๐˜ฆ๐˜ค๐˜ต_๐˜ฆ๐˜ฒ๐˜ถ๐˜ข๐˜ญ argument order across dozens of files) โ€ข Managed VM environments reduce risks while maintaining utility โ€ข Combining different AI tools (Jules + Aider) provided robust validation through "third-party" code review This results in a faithfully migrated test suite with equivalent coverage and behavior, achieved faster and with more confidence. Read about our process, challenges, and solutions in our news post. https://lnkd.in/d-QUGDJ4 #rstats #SoftwareDevelopment #AIEngineering #TestAutomation #OpenSource

Wrote about using #googlejules to migrate an #RStats test suite to #testthat

www.linkedin.com/posts/mirai-solutions-gm...

#aiagents

1 1 0 0
A screenshot of the RStudio console showing results from testthat, an R package for unit testing. After running tests, testthat printed a motivational message: "Your tests are magnificent!"

A screenshot of the RStudio console showing results from testthat, an R package for unit testing. After running tests, testthat printed a motivational message: "Your tests are magnificent!"

one of many many reasons to use testthat: positive & encouraging messages!
(testthat.r-lib.org)
#rstats #testthat

5 0 1 0
testthat docs: Robust tests and covr (pkgcreationdocs01)
testthat docs: Robust tests and covr (pkgcreationdocs01) YouTube video by Data Science Learning Community Videos

From the DSLC.io aRchives:

๐Ÿ”ต testthat docs: Robust tests and covr youtu.be/gDKXqPDWKDs

๐Ÿ”ต Spatial Statistics for Data Science: Spatial neighborhood matrices youtu.be/rzKNy8PhJbw

Visit dslc.video for hours of new #DataScience videos every week!

#dataBS #RStats #testthat

0 0 0 0
Preview
test: don't print plots ยท davidcarslaw/openairmaps@a60ac5c mapping functions to support openair. Contribute to davidcarslaw/openairmaps development by creating an account on GitHub.


Clever #rstats #testthat people - I'm trying to write unit tests to run on GitHub Actions but seemingly any that create a plot (e.g., ggplot2) fail on MacOS, and only MacOS. Can anyone who knows more about this than me advise what could be going on? (github.com/davidcarslaw...)

1 0 1 0