ropensci / osmplotr

Data visualisation using OpenStreetMap objects
https://docs.ropensci.org/osmplotr
132 stars 21 forks source link

use vcr to mock tests #39

Open mpadge opened 6 years ago

mpadge commented 6 years ago

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.

maelle commented 5 years ago

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