Skip to content

v0.8.0

Latest
Compare
Choose a tag to compare
@chrisholbrook chrisholbrook released this 20 Sep 03:19
· 1 commit to main since this release

What's Changed

From NEWS:

Breaking changes

  • Changed make_transition() to use jarasterize() (see New Features) and
    added input arg buffer.

    • Removed dependence on gdalUtilities.
    • fixes issue #234
  • Removed make_transition2() (deprecated in 0.7) and make_transition3().
    Also removed dependence on fasterize.

  • Updated example TransitionLayer object greatLakesTrLayer using new
    make_transition() and great_lakes_polygon (an sf object) . The new version
    has the same cell size (resolution) as the previous, but different extents
    (matches great_lakes_polygon, so returned values (with same input) will differ
    from earlier versions.

  • Removed 'gganimate_handout' (pdf and html) from 'vignettes'.

New features

  • Add new function vue_convert() to convert VRL file to CSV file (detection
    records only; receiver event log records are not supported).

    • replaces vrl2csv() (deprecated).
  • Add new function vdat_convert() to convert VRL or VDAT files to
    Fathom/VDAT CSV.

  • Add new functions for reading data exported from VRL with VUE software.

    • read_vue_detection_csv() to read data from detection file exported
      from VUE or created using vue_convert() or vrl2csv().
    • read_vue_event_csv() to read data from receiver event log file exported
      from VUE.
  • Add new function read_vdat_csv() to read data exported from VRL or VDAT
    using VDAT.exe (e.g., using vdat_convert()).

  • Add new functions to create, check, and validate glatos_animals objects:

    • glatos_animals() to construct a glatos_animals object from
      individual vectors (one for each column) and optionally check for required
      column names and classes using validate_glatos_animals().
    • as_glatos_animals() to coerce a data.frame, or object that
      inherits from data.frame, to glatos_animals and optionally check for
      required column names and classes using validate_glatos_animals().
    • is_glatos_animals() to check class attribute for "glatos_animals".
    • validate_glatos_animals() to check for existence of required column
      names and classes.
    • fixes issue #126
    • fixes issue #78
  • Add new functions to create, check, and validate glatos_detections objects:

    • glatos_detections() to construct a glatos_detections object from
      individual vectors (one for each column) and optionally check for required
      column names and classes using validate_glatos_detections().
    • as_glatos_detections() to coerce a data.frame, or object that
      inherits from data.frame, to glatos_detections and optionally check for
      required column names and classes using validate_glatos_detections().
    • is_glatos_detections() to check class attribute for "glatos_detections".
    • validate_glatos_detections() to check for existence of required column
      names and classes.
    • fixes issue #126
    • fixes issue #78
  • Add new functions to create, check, and validate glatos_recievers objects:

    • glatos_receivers() to construct a glatos_receivers object from
      individual vectors (one for each column) and optionally check for required
      column names and classes using validate_glatos_receivers().
    • as_glatos_receivers() to coerce a data.frame, or object that
      inherits from data.frame, to glatos_receivers and optionally check for
      required column names and classes using validate_glatos_receivers().
    • is_glatos_receivers() to check class attribute for "glatos_receivers".
    • validate_glatos_receivers() to check for existence of required column
      names and classes.
    • fixes issue #126
    • fixes issue #78
  • Add new function jarasterize() to allow rasterization
    (esp. with all_touched = TRUE) using only sf and raster.
    Used by make_transition().

  • Add new function scale_meters_to_degrees() to inform selection of res
    argument to make_transition().

  • In make_frames(), allow terra::SpatVector input for background map
    (bg_map arg).

    • add test for terra::SpatVector input
  • Add new function detection_range_model() for estimating detection range at which a certain detection efficiency is expected, using output from Innovasea's range testing software.

Bug fixes and minor changes

  • Add @srs slot to greatLakesTrLayer data object and rename file
    'data/greatLakesTrLayer.rda'.

  • Fix bug in read_glatos_workbook() where timestamps during daylight savings
    were shifted one hour on linux operating system (not an issue on windows or
    mac).

  • Omit data.table from class of object returned by read_glatos_detections()
    and read_glatos_receivers().

  • Fix typo in Description to Suggest 'gifski' (not 'gifsky').

  • Various changes to resolve R CMD check errors, warning, and notes (generally
    not user-facing).

Full Changelog: v0.7.3...v0.8.0