Jakub Sobolewski
banner
jakub-sobolewski.bsky.social
Jakub Sobolewski
@jakub-sobolewski.bsky.social
I help R developers improve their testing skills.

https://jakubsobolewski.com

Staff Engineer @ Appsilon.
Reposted by Jakub Sobolewski
Episode 213 of R Weekly Highlights is out! serve.podhome.fm/episodepage/...

🏎️ Algorithm racing @jonocarroll.fosstodon.org.ap.brid.gy
📊 GenAI for data viz @nrennie.bsky.social
🏗️ Shiny apps with BDD @jakub-sobolewski.bsky.social

h/t @mike-thomas.bsky.social & Sam Parmar 🙏

#RStats #DataBS
Issue 2025-W42 Highlights
Creating your own race to a programming finish line with a hidden gem in mirai, the lowdown on using Generative AI for data visualization with more than a…
serve.podhome.fm
October 15, 2025 at 11:11 AM
What's worse than no automated tests? Bad tests.

Automated tests should save time and catch bugs early. But bad tests slow you down, cause frustration, and reduce confidence. Let’s unpack three common testing traps and how to avoid them. 🧵
September 17, 2025 at 1:59 PM
Reposted by Jakub Sobolewski
Rweekly issue #38 is out.
This week's highlights include: R6 interfaces (@jakub-sobolewski.bsky.social) and ggplot2 (@nrennie.bsky.social)
#Rstats #code #reading
rweekly.org
Home
Learn R, R tutorials, R resources, blog posts and the latest updates about the statistical programming R language.
rweekly.org
September 15, 2025 at 7:48 AM
Building code gets easier every day with AI. Building code that truly matters to users remains the real challenge.

At @user-conf.bsky.social virtual, I’m sharing how to ship only what matters.

See it here: youtu.be/e4H28G2J05U?...

#rstats #opensource
Don’t Write Code Your Users Haven’t Asked For - Jakub Sobolewski
YouTube video by useR! Conference
youtu.be
August 4, 2025 at 2:34 PM
🧪 New pattern in the R Tests Gallery: Testing code that uses LLMs, APIs, or databases

External systems power our code, LLMs, APIs, DBs, libraries, but they don’t need to be in our tests.

Check it out 👉 jakubsobolewski.com/r-tests-gall...

#rstats #opensource
R Tests Gallery
Learn how to effectively test in R and use tests to drive your development process.
jakubsobolewski.com
August 1, 2025 at 9:10 AM
𝗪𝗮𝗻𝘁 𝘁𝗼 𝘄𝗿𝗶𝘁𝗲 𝘀𝗽𝗲𝗰𝘀 𝗳𝗼𝗿 𝗮𝗻 𝗲𝘅𝗶𝘀𝘁𝗶𝗻𝗴 𝗮𝗽𝗽? 𝗟𝗲𝘁 𝗔𝗜 𝗵𝗲𝗹𝗽 𝘆𝗼𝘂 𝗶𝘁𝗲𝗿𝗮𝘁𝗲 𝗳𝗮𝘀𝘁𝗲𝗿.

Writing specs after the fact gets messy fast. You’re tempted to mention buttons, screens, and other UI stuff, but that only locks you into one way the app works.

#rstats #opensource
July 30, 2025 at 8:18 AM
Reposted by Jakub Sobolewski
The latest issue of @rweekly is now live!

https://rweekly.org/2025-W31.html

Highlights:
📊 Copy the Pros: How to Recreate this NYTimes Chart in R by @MrPecners
⏩ Speed Testing Code: Three Levels by @kellybodwin
🧪 Testing your Plumber APIs from R by @jakub-sobolewski.bsky.social

As always […]
Original post on fosstodon.org
fosstodon.org
July 28, 2025 at 11:04 AM
Your legacy Shiny app needs a makeover, but jumping straight into refactoring is like repainting a room with furniture still inside. Things will get messy.

The safest approach? Write acceptance tests first.

#rstats #rshiny #tests #testing #opensource
July 15, 2025 at 12:01 PM
Reposted by Jakub Sobolewski
Episode 207 of R Weekly Highlights is out! serve.podhome.fm/episodepage/...
🛠️ Generating Quarto syntax (Danielle Navarro)
🤔 Behavior-Driven Development @jakub-sobolewski.bsky.social
🔍 Dive()ing into the Hunt @milesmcbain.bsky.social

h/t @mike-thomas.bsky.social & @rbyryo.bsky.social 🙏

#RStats
Issue 2025-W28 Highlights
It's been far too long since our last episode of R Weekly Highlights, but we are finally back with episode 207! In this episode we learn about novel ways…
serve.podhome.fm
July 12, 2025 at 4:06 PM
3 Things Tests Reveal About Your Code

Ever wondered what your tests are really telling you about your code?
Tests aren’t just safety nets—they’re feedback loops on your design.

#rstats #tests
July 11, 2025 at 9:24 AM
Every R package deserves more than just unit tests.

Let’s break down the four essential layers of testing for robust, reliable code.
👇

#rstats #testing #rpackage #opensource #quality
July 9, 2025 at 12:42 PM
Reposted by Jakub Sobolewski
Oh boy. I was thinking of a Cucumber port from Ruby to R and @jakub-sobolewski.bsky.social already did it github.com/jakubsob/cuc...
GitHub - jakubsob/cucumber: Behavior-Driven Development and Executable Specifications for R
Behavior-Driven Development and Executable Specifications for R - jakubsob/cucumber
github.com
June 30, 2025 at 3:29 PM
𝗜'𝘃𝗲 𝗯𝗲𝗲𝗻 𝗰𝗼𝗱𝗶𝗻𝗴 𝘄𝗶𝘁𝗵 𝗔𝗜 𝗮𝘀𝘀𝗶𝘀𝘁 𝗳𝗼𝗿 𝗼𝘃𝗲𝗿 𝗮 𝘆𝗲𝗮𝗿.

Here’s what I’ve learned about AI-assisted tests. 🧵

#r #rstats #shiny #rshiny #rtests
January 13, 2025 at 1:55 PM
𝗙𝗿𝗲𝗲 𝗥𝗲𝘀𝗼𝘂𝗿𝗰𝗲𝘀 𝗧𝗼 𝗕𝗼𝗼𝘀𝘁 𝗬𝗼𝘂𝗿 𝗦𝗵𝗶𝗻𝘆 𝗗𝗲𝘃𝗲𝗹𝗼𝗽𝗺𝗲𝗻𝘁 𝗦𝗸𝗶𝗹𝗹𝘀

To get better in Shiny we should pull insights from other tech stacks.

I've collected a bunch of resources that I helped me propel my Shiny development skills and make bigger impact at @appsilon.bsky.social:

#r #rstats #shiny #rshiny #rtests
January 10, 2025 at 1:35 PM
Want to get code coverage report, but not share your private code with codecov.io? Use cobertura-action.

In R the most popular way to get the code coverage report is to use codecov.io with usethis::use_coverage. But there is another way:

#r #rstats #shiny #rshiny #rtests
December 12, 2024 at 8:35 AM
Want Cleaner Unit Tests With The Least Effort? Try Arrange, Act, Assert Comments.

Each unit test consists of 3 steps:

1️⃣ Setup test environment.
2️⃣ Call tested code.
3️⃣ Assert on the expected outcome.

Use comments to separate them.

Let's see how:

#r #rstats #shiny #rshiny #rtests
December 10, 2024 at 7:42 AM
3 Types Of Unit Tests Every R Programmer Should Know

Before starting to write a unit test, we should know what type of a test we need.

We can put any test into one of those 3 categories:

#r #rstats #shiny #rshiny #rtests
December 9, 2024 at 7:49 AM
Anyone Interested In Building Software From The Perspective Of A User Should Watch This Playlist

If you are at all interested in Behavior-Driven Development, then you need to clear your calendar and watch this series 👉 www.youtube.com/watch?v=gXh0...

And here's why:

#rstats #r #shiny #rshiny
An Ultimate Guide To BDD
YouTube video by Continuous Delivery
www.youtube.com
December 6, 2024 at 12:19 PM