Brandon
bomrang 0.5.0
Bug fixes
- Update functionality of
get_precis_forecast()
andget_coastal_forecast()
to work with latest BOM XML files
Major changes
-
New print method for
get_historical()
andget_current_weather()
using
bomrang_tbl
class and re-exporting dplyr methods to handle the new class,
thanks to @jonocarroll for this huge effort -
Add new aliases for
get_current_weather()
,get_current()
and
get_historical()
,get_historical_weather()
for consistency -
Add new aliases for
get_radar_imagery()
,get_radar()
and
get_satellite_imagery()
,get_satellite()
to save typing -
If images fail to download for any functions, a default image is returned
with an error message to try again
-
get_current_weather()
no longer hasraw
oras.data.table
parameters, all
data are returned with columns in proper class as with all other bomrang
functions and the returned data.frame is abomrang_tbl
object. Theraw
parameter was set toFALSE
by default, so the effect should be minimal for
most end users.
Minor changes
-
Updates documentation formatting and corrects minor issues including
spellchecking package and correcting spelling where necessary -
Uses
curl
to download XML files before parsing them, rather than reading
directly from the server.curl
gives more flexibility in handling the
server connections -
Uses
curl::curl_download()
in place ofutils::download.file()
for a
newer implementation of the same protocols -
Correct formatting of DESCRIPTION file to conform with CRAN guidelines
-
Replaces
\dontrun{}
with\donttest{}
for examples in documentation