#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
Sign up
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.
Testing
unit-tests
dependency management
R programming
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
Testing
Fortran
Converting testthat Tests to testit
Yihui Xie ·
May 15, 2026
unit testing
software development
Documenting certificate distribution pain points for the Python ecosystem
cclauss ·
Oct 20, 2026
Python
Security
Find the slowest PHPUnit tests
akrabat ·
Oct 20, 2026
PHP
Testing
Changing package managers doesn't remove your npm registry dependency
Flaviocopes ·
Oct 17, 2026
npm
software development
Stripping extra dependencies in .NET NativeAOT apps using linker substitutions
andrewlock ·
Oct 6, 2026
.NET Core;Observability
.NET
Discover more posts →
AUTHOR
Advertise
Sponsor diff.blog
Put your product in front of developers who read and write about their craft. One exclusive sponsor at a time.
Become a sponsor →
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
.