webmockr icon indicating copy to clipboard operation
webmockr copied to clipboard

Partial arg match warning

Open hadley opened this issue 8 months ago • 2 comments

From vcrs test, I think it's coming from webmockr:

▆
 1. ├─vcr::use_cassette(...) at test-crul.R:62:3
 2. │ └─cassette$call_block(...) at vcr/R/use_cassette.R:180:3
 3. └─HttpClient$new(hb("/post"))$post(body = crul::upload(system.file("CITATION"))) at test-crul.R:63:5
 4. └─private$make_request(rr)
 5. └─adap$handle_request(opts)
 6. └─private$request_handler(req)$handle()
 7. └─eval(parse(text = req_type_fun))(self$request) at vcr/R/request_handler.R:113:7
 8. └─cas$record_http_interaction(response) at vcr/R/request_handler-crul.R:85:7
 9. └─self$make_http_interaction(x) at vcr/R/cassette_class.R:562:7
 10. ├─Request$new(...) at vcr/R/cassette_class.R:643:7
 11. │ └─vcr (local) initialize(...)
 12. │ └─base::inherits(body, "list") at vcr/R/request_class.R:75:9
 13. └─webmockr::pluck_body(x$request) at vcr/R/cassette_class.R:650:11

hadley avatar Apr 08 '25 13:04 hadley

Thanks! I'll have a look

sckott avatar Apr 08 '25 15:04 sckott

I'm replacing the code line referenced above in https://github.com/ropensci/vcr/issues/276 - so this should be taken care of after that merges

sckott avatar Apr 08 '25 21:04 sckott

I dont think this is still a problem

sckott avatar May 19 '25 11:05 sckott