Changed make_transition()
to use jarasterize()
(see New Features) and
added input arg buffer
.
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'.
Add new function vue_convert()
to convert VRL file to CSV file (detection
records only; receiver event log records are not supported).
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.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.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.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).
terra::SpatVector
inputAdd 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.
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).
summarize_detections()
where values in num_locs
and
locations
columns were incorrect.
summarize_detections()
where value in locations
output
column was name of input column (e.g. "glatos_array"), rather than values
from that column (e.g., "AGR", "BBI").
bg_map
was supplied.
background_xlim
, background_ylim
, and
bg_map
to function make_frames
.Remove dependence on rgeos
and rgdal
.
This package now requires R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects: 'glatos/inst/testdata/flynn_island_transition.rds' 'glatos/inst/testdata/higgins_lake_transition.rds' 'glatos/inst/testdata/test-detect_transmissions-dtc_spout.rds' 'glatos/inst/testdata/test-transmit_along_path-tr_dfin_spout.rds'
Deprecate make_transition
and make_transition2
; suggest make_transition3
instead.
Deprecate data object greatLakesPoly
; suggest great_lakes_polygon
instead.
prepare_deploy_sheet
:
convert_otn_to_att
and convert_otn_erddap_to_att
:
sp::CRS
with sf::st_crs
Remove ffmpeg functions.
check_dependencies
install_ffmpeg
make_video_ffmpeg
Fix issues with several tests caused by changes to CRS/WKT and row.names attributes.
position_heat_map()
function resulting in Error in zip_internal... Some files do not exist
. Update documentation.Allow sf
MUTLIPOLYGON
geometry type for input polyg
to crw_in_polygon()
.
Use new function check_cross_boundary()
instead of check_in_polygon
to prevent paths crossing land (e.g., over peninsulas) in crw_in_polygon()
.
crw_in_polygon
transmit_along_path
detect_transmissions
position_heat_map
remove dependence on PBSmapping
remove dependence on gdalUtils
changes to kml_to_csv
fix 'greatLakesPoly' CRS to resolve warning: "CRS object has no comment"
added example data 'great_lakes_polygon'; an sf POLYGON version of 'greatLakesPoly' (a SpatialPolygonsDataFrame)
read_glatos_workbook
removed openxlsx and cellranger dependencies from DESCRIPTION
fix issue preventing vignettes from building when installed (missing space in data_loading_vignette.Rmd).
convert_glatos_to_att,
CRS
for ATT compatibilityresidence_index
.dots
argument of group_by()
is deprecated as
of dplyr 1.0.0"convert_otn_erddap_to_att
make_video
make_frames
interpolate_path
ties = "ordered"
for all calls to stats::approx
abacus_plot
panel.first
and panel.last
) had to be wrapped in quote
summarize_detections
check_dependencies
functions
example data
make_frames
interpolate_path
calc_collision_probs
make_video
adjust_playback_time
vrl2csv
detect_transmissions
make_frames
abacus_plot
functions
vignettes and documentation
detection_events
crw_in_polygon
transmit_along_path
detect_transmissions
abacus_plot
position_heat_map
dropped fasttime as a depenedency and uses lubridates fasttime implementation instead
Update sysdata detection schema for OTN
interpolate_path
vector_heading