Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Brandon

Compare
Choose a tag to compare
@adamhsparks adamhsparks released this 21 Mar 12:25

bomrang 0.5.0

Bug fixes

  • Update functionality of get_precis_forecast() and get_coastal_forecast()
    to work with latest BOM XML files

Major changes

  • New print method for get_historical() and get_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 has raw or as.data.table parameters, all
    data are returned with columns in proper class as with all other bomrang
    functions and the returned data.frame is a bomrang_tbl object. The raw
    parameter was set to FALSE 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 of utils::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