R library for stubbing and setting expectations on HTTP requests

WWW: https://github.com/ropensci/webmockr
