osmplotr icon indicating copy to clipboard operation
osmplotr copied to clipboard

use vcr to mock tests

Open mpadge opened this issue 7 years ago • 1 comments

The problems highlighted in osmdata issues #126 and #128 are pervasive, and affect CRAN systems too, causing tests to fail. vcr is finally on CRAN, so can be used to mock tests far more neatly and comprehensively than current approach.

mpadge avatar May 14 '18 20:05 mpadge

Note that @sckott has started working on a whole book about HTTP testing in packages! https://github.com/ropensci/http-testing-book

maelle avatar Jul 11 '18 06:07 maelle