[This article was first published on Why R? Foundation, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Thursday November 26th. 7:00pm UTC
- webinars whyr.pl/webinars/
- donate whyr.pl/donate/
- past videos youtube.com/WhyRFoundationVideos
Mocking allows the programmer to temporarily substitute custom code for part of a given function. This can be useful in a variety of scenarios:
- When needing stubs or fakes for unit tests
- To replace a not yet completed function, particularly helpful in test driven development
- When for whatever reason R is doing something you don’t want it to do, like accessing the internet, reading files from a strange location, or printing graphs incorrectly.
Max is a danish Computer Science student currently in final year at the University of Bath after completing a placement year with Mango.
He is particularly interested in ML, and is currently working on a dissertation aimed at predicting capacity levels on public transportation.
To leave a comment for the author, please follow the link and comment on their blog: Why R? Foundation.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.