first draft for with_mock function
Merge branch 'trivial-doc' into 159-mocking
attempt to fool R CMD check
Merge branch 'trivial-doc' into 159-mocking
supply example
use add = TRUE for on.exit
correctly implement checking that all arguments are named
test for mocking non-existing function
support qualified mock names of the form `<package>::<function>`

- mock only functions, even if no package is specified
- .env argument remains in place
- supply tests
rewrite to use one single list of objects of class 'mock'
avoid variable name collision
always test temporary nature of mock
use qualified notation in example
Merge branch 'union-merge' into 159-mocking
add NEWS item
Merge remote-tracking branch 'hadley/master' into 159-mocking
use only ... arguments: named arguments are mocked, unnamed arguments are evaluated
no-op mocking gives a warning
evaluate expressions in parent frame to be able to access variables defined there
extract function get_mocks