Releases: munterfi/hereR
Releases · munterfi/hereR
hereR 1.1.0
- Replace deprecated
with_mock()from testthat withwith_mocked_bindings()in all test cases (closes #174). - Updated the test coverage GitHub Action workflow to use
actions/upload-artifact@v4, fixing a deprecation issue. - Add support for configuring speed limits in
isoline()androute()requests via thespeed_limitparameter. This sets&pedestrian[speed]=<LIMIT>for pedestrian mode and&vehicle[speedCap]=<LIMIT>for vehicle-based modes in API requests (refs #175). - Expand transport mode support in
isoline()routing by enabling"bicycle","scooter","taxi","bus", and"privateBus", in line with newly available API options.
hereR 1.0.1
- Prevent the consumption model from being added to the request when the transport mode is set to
"pedestrian"inisoline()androute()functions (closes #167). - Adjust the rate limit in
route()to 7 requests per second (RPS). Although HERE's documentation specifies a 10 RPS limit, it has been lowered to 5 RPS to avoid frequent 429 "Too Many Requests" errors.
hereR 1.0.0
Please note that there are breaking changes introduced in this major version release for the weather(), flow(), and incidents() functions. Be sure to review the updated documentation to understand how these changes may affect your usage.
- Upgrade HERE Traffic API to v7 for
flow()andincident()requests (closes #158) - Upgrade HERE Destination Weather API to v3 for
weather(). - Update description to create a new API key to the HERE Platform (closes #157).
- In addition to
sf,data.frames, the input for points and areas of interest now also allows forsfcgeometry columns. - Change the example data set of the package for the area of interest
aoifrom the country border of Switzerland to the districts of Zurich. This change was necessary because theflow()andincident()requests have a maximum allowed width and height of 1 degree for the bounding box of the input AOIs. - Replace GitHub actions with current versions from r-lib/actions.
- Bugfix: Fix decoding of polylines with NA value in
intermodal_route(). - Bugfix: NAs introduced by coercion, do not convert
snowFallcolumn to numeric in weather observation request. - Bugfix: Remove
defunct.Randdeprecated.Rto avoid NOTE (closes #162).
hereR 0.9.1
- Resubmit to CRAN due to since the package was archived on 2022-12-27 as email to the maintainer was temporarily not deliverable.
- Updated r-lib/actions in github action
R-CMD-check.yamlandpkgdown.yaml.
hereR 0.9.0
- Allow transport modes
"scooter","taxi","bus","privateBus"inroute()androute_matrix(). - Request tolls for routes with transport modes
"car","truck","taxi"and"bus"inroute(). The new boolean parametervignettesdefines if vignettes should be in inlcuded in the total toll cost of routes (closes #151). - Add
set_currency()to allow changing the currency used in toll requests to a currency code compliant to ISO 4217. The default currency is the current system locale setting. If the monetary formatting category"LC_MONETARY"of the C locale is not set,"USD"is set as default. - Set
aggregate = FALSEas default inisoline()(closes #153). - Bugfix: Reduced RPS from 5 to 4 in calls to the Weather API in
weather(), due toStatus 429; Too Many Requests;. - Bugfix: Do not convert columns
"visibility"and"snowCover"to numeric inweather(..., product = "observation"), as they contain non numeric character values (NAs introduced by coercion).
hereR 0.8.2
- Setting the arrival time is now supported by the Routing API, therefore
route(..., arrival = TRUE)works. - Since
sapplyis not type safe, replace its use withvapply(..., FUN.VALUE = type). - Add endpoint URL (without parameters) of failing requests to the warning message and print error message of the response.
- RPS limit for weather and traffic endpoints.
- Changed workflow from git flow to trunc-based development. Removed develop branch. New features are merged directly into
masterand releases are tagged after CRAN has accepted the package submission, which triggers the documentation build. - Bugfix: Fix time / traffic independent requests in
isoline(..., traffic=FALSE)(closes #147). - Bugfix: Explicitly cast linestring in function
.connection_summaryto avoid error inCPL_geos_union(@panhypersebastos).
hereR 0.8.1
- Adjust URLs to GitHub account due to renaming munterfinger to @munterfi.
- Bugfix: Add
set_freemiumtopic to index in pkgdown.
hereR 0.8.0
- Rename the rate-limit-related variable
HERE_RPStoHERE_FREEMIUM, and the functionhereR::set_rate_limit()tohereR::set_freemium(). Use theHERE_FREEMIUMenvironment variable to determine a plan-specific size of sub-matrices in thehereR::route_matrix()function (@szaboildi, #138). - Deprecate
hereR::set_rate_limit()(closes #137). - Add option to use qualified queries in
geocode()(closes #136).
hereR 0.7.1
hereR 0.7.0
- Enable
optimizeparameter to chose from "balanced", "quality" and "performance" inisoline()(closes #119). - Remove deprecated parameters in
route(),route_matrix()andisoline(). - Add specific user-agent to the requests:
hereR/<version> R/<version> (<platform>). - Add option to deactivate rate limits
set_rate_limit(FALSE). - Bugfix: Add rate limits in RPS (requests per seconds) to async requests to the APIs; move dependency for requests from curl to crul package (closes #122).
- Bugfix:
isoline()now handles multipart polygons (MULTIPOLYGON) if received by the API (closes #121). - Add area and feature avoidance in
route()(closes #117).