KUBDatalab / KBapi

Wrappers for interacting with Royal Library API
https://kubdatalab.github.io/KBAPI/
Other
0 stars 1 forks source link

fix this R CMD check ERROR #44

Open chrbknudsen opened 4 weeks ago

chrbknudsen commented 4 weeks ago

Running examples in 'KBapi-Ex.R' failed The error most likely occurred in: > ### Name: get_aerial > ### Title: Søg luftfotos > ### Aliases: get_aerial > > ### ** Examples > > # Eksempel på brug af funktionen > get_aerial(lat = 1, lon = 2) Error in httr2::req_perform(): ! HTTP 404 Not Found. Backtrace: ▆ 1. └─KBapi::get_aerial(lat = 1, lon = 2) 2. └─httr2::req_perform(httr2::req_url_query(httr2::request(api_url), !!!query_params)) 3. └─httr2:::handle_resp(req, resp, error_call = error_call) 4. └─httr2:::resp_abort(resp, req, body, call = error_call) 5. └─rlang::abort(...) Execution halted