Changelog
Source:NEWS.md
trip 1.10.1
Fixed
trackDistance()for longitude/latitude input given as four vectors (x1, y1, x2, y2) where the pairs are not consecutive points on a single path. Since 1.6.0 only the last destination was used, so distances were wrong for any other pairing. Distances for a trip or a matrix of coordinates are unchanged. Thanks to @mherzogjr #55.speedfilter()andsda()results may change for longitude/latitude data, as the speeds spanning an intervening location were affected by the above. Projected data was not affected.Remove tests expecting silence.
Fix situation where all date-times being NA resulted in ‘Error: C stack usage 7975700 is too close to the limit’.
Fixed CRAN notes: tests now use
levels,dimanddimnamesinstructure()rather than the deprecated special names, andrasterize()now has a\usagesection with all arguments documented.Fixed documentation of
as.Other(undocumentedstrictargument and an unmatchedcoerceusage entry).Examples using suggested packages (adehabitatLT, lubridate, lattice) are now guarded with
requireNamespace().Added missing
\valuedocumentation fortrip-internalandtrip.split.exact, updated URLs to https, and updated roxygen2 tags (@aliases,"_PACKAGE").
trip 1.8.7
CRAN release: 2022-12-14
filter_penSS()is removed, it didn’t really work reliably and has no known users.Updated DESCRIPTION, citation, help examples, removed disallowed warning suppression, added return value documentation, thanks to CRAN.
Updated to new spatstat.explore (removed spatstat.core).
trip 1.8.0
CRAN release: 2020-10-28
Updated and fixed some tests thanks to CRAN.
New function
interp_equal()for intermediate points by distance or duration.Fixed spurious warnings in tests, thanks to Roger Bivand #45.
trip 1.7.1
CRAN release: 2020-06-15
Fixed documentation cross-references to sp topic, thanks to CRAN.
Migrate to reproj to avoid rgdal package. Ancient function tripTransform has been removed completely, and spTransform methods are now defunct and suggest use of
reproj().Removed problematic PROJ strings, thanks to Roger Bivand.
readDiag()andreadArgos()now read all records from a single text vector after reading all raw lines. This means they can be used to read data from mixed text streams.readDiag()no longer converts columns id and iq to factor, and gains argumentsreturn_tripandread_altto control output format.
trip 1.6.0
CRAN release: 2019-04-15
MAJOR CHANGES
BREAKING change: the sp package is now imported rather than full Depends. This means that calls to its functions like
coordinates<-,CRS<-,proj4string<-,spTransformwill need to be prefixed withsp::, or with the package explicitly attached withlibrary(sp). This may cause some pain but should be offset by improvements in helpful ways to create trip objects.The
trip()function now accepts raw data frames or grouped data frames, with the first four columns assumed to be the x, y, time coordinates and the ID column. If the data frame is grouped the first grouping column is used as the ID.When trip objects are created they are by default forced into basic data sense, and so will usually succeed on creation as long as the nominated coordinates, trip group ID and date-times are sensible. The data will be automatically cleaned up for 1) duplicated records 2) duplicated date-times 3) records out of order.
summary(trip)now does not calculate the rolling RMS speed for performance reasons, this might be reviewed in future.New function
write_track_kmlto produce a compressed Keyhole Markup Language (‘KML’) file in ‘KMZ’ form, for use in Google Earth.
MINOR CHANGES
readArgosgains a new argumentread_altwhich is set to NULL by default and maintains existing behaviour. If set to 1 or 2 the corresponding “alternative” location is returned. 1 is a standardized location corresponding to the original PRV message, and 2 is a “dummy” location. Added by request of Chris Ward.Now using geodist package rather than internal distance function. There’s no speed benefit for moderately small data sets (1000s of points) but there is for much larger data. Some small numeric changes in distances when using longitude, latitude data - in
trackDistanceandhomedistbut at the level of metres in terms of precision.New support to coerce to sf with
as(x, "sf")which creates every segment as a LINESTRING. Ifsf::st_as_sf()is used standard coercion from sp -> sf is used and results in POINT.Add
trip()support including coercion from and to theamtpackage typetrack_xyt.Add
trip()support fortrackeRdataobjects from thetrackeRpackage,mousetrapobjects from themousetrappackage. Conversion to these types from trip is not practical.Add
trip())support forsfobjects with POINT geometry. The column names for date-time and id must be supplied. Z or M values from XYZ, and XYZM, and XYM are currently ignored.Add partial
trip()support fortelemetryobjects from thectmmpackage, see #33.