DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About Privacy
+
Create new post Create new blog
Add your blog
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
Privacy Policy
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

Clean R Tests with `local_mocked_bindings` and Dependency Wrapping

· Jakub Sobolewski · Sept. 23, 2025, 8:05 a.m.
R programming Testing unit-tests testthat
Summary
This post explains how to enhance R unit tests using `testthat::local_mocked_bindings` to wrap external dependencies, resulting in faster and cleaner tests.
Read full post on jakubsobolewski.com →
MORE POSTS LIKE THIS
How to build dependencies for test program with fpm
Fortran Lang Discourse · Aug 20, 2026
Fortran fpm
Converting testthat Tests to testit
Yihui Xie · May 15, 2026
R programming unit testing
Nix Dev Shell vs Docker Image on GitLab CI
Haseeb Majid · Nov 26, 2026
Nix Docker
Random NihAV news and rants
Codecs Multimedia · Nov 26, 2026
NihAV Useless Rants
Launch Agents for My AI Agents
Daniel Doubrovkine (dB.) @dblockdotorg · Nov 25, 2026
automation dependency management
Your Tools are Hiding npm Audits from You
zachleat · Nov 24, 2026
npm audits JavaScript frameworks
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google
By continuing, you agree to our Privacy Policy.