jmaspons / osmapiR

An R interface to OpenStreetMap API for fetching and saving data from/to the OpenStreetMap database
https://jmaspons.github.io/osmapiR/
GNU General Public License v3.0
5 stars 3 forks source link

Test calls with empty body responses #16

Closed jmaspons closed 2 months ago

jmaspons commented 3 months ago

Error in httptest2::with_mock_dir https://github.com/nealrichardson/httptest2/issues/35 Works with simplify = FALSE (e.g. https://github.com/jmaspons/osmapiR/blob/main/tests/testthat/mock_set_prefs_user/osm.org/api/0.6/user/preferences-eb5ee0-PUT.R)

jmaspons commented 2 months ago

Completed with b817d32 91a6ddbcb33112482b11e1154cc2660ffbad5165 dc13a028c7f521d3fe3b0eff34f9d4dfdecf41d3