Skip to content

Releases: MotusWTS/motus

motus 6.1.1

04 Jun 18:35
254bb25
Compare
Choose a tag to compare
  • Add support for Sigma Eight receivers

motus 6.1.0

31 Jan 20:59
9d99ed5
Compare
Choose a tag to compare
  • fix bugs in tagme()
    • tagme(dir = ...) now correctly downloads projects as well as receivers and
      respects the skipXXX arguments
    • tagme() for receivers now skips node downloads if receiver is not a SensorStation
    • tagme() fails gracefully if the directory specified does not exist
  • tagme(new = TRUE) now starts a download immediately
  • Add srvTimeout() to specify the server timeout limit
  • Clean up helper functions sunRiseSet() and timeToSunriset()
    • sunRiseSet() now required to run timeToSunriset()
    • Changed function argument names for clarity
  • Replace use of ggmap with ggspatial for creating plots with static maps.
  • Clean up docs for tagSum()
  • Add helper function tagmeSample() for an in-memory connection to the sample
    data base for running examples
  • Remove any functions that rely on deprecating spatial functions
  • Remove year, month, day fields from activity tables.
  • Standardize names in docs and examples
  • Update tests internally
  • Remove placeholder for French documents (will add back in once we get translations)

motus v6.0.1

13 Dec 21:04
Compare
Choose a tag to compare

Bug fix

  • Fix bug in xxxRunsFilter() functions resulting in the inability to correctly return the filter id

motus v6.0.0

19 Sep 18:43
c984cfd
Compare
Choose a tag to compare

Potential breaking change

  • Changed internal method for loading SQLite databases. Now uses standard method
    with DBI::dbConnect(). Previously, users applying DBI functions to
    databases loaded with tagme() had to use the $con sub-element of the connection.
    $con should no longer be used (it will result in an error).

Functions removed

  • Remove functions safeSQL(), sqliteToRDS()

Bug fixes

  • fixed bug in deprecateBatches() which caused an error when removing deprecated
    batches from receivers.

Other

  • Updated internal code for logging messages
  • Now use simple wrappers for DBI::dbExecute() and DBI::dbGetQuery(), using
    glue::glue_sql() to help construct statements.

motus v5.0.0

03 Mar 16:07
Compare
Choose a tag to compare

New features

  • New allruns and allrunsGPS views for quicker first passes of the data with
    large datasets
  • New field/column attachment in tagDeps table
  • New field/column numGPSfix in activity and activityAll tables
  • New field/columns stationName and stationID in recvDeps tables
  • gpsAll() and activityAll() functions allow downloading complete records
    of GPS points and Activity
  • Deprecated batches are now returned to a new table deprecated on tagme()
  • deprecateBatches() function to fetch and (optionally) remove deprecated batches
    from all relevant tables

Bug fixes

  • fixed bug in filterByActivity() resulting in NA probabilities
  • fixed bug in getGPS() which crashed if ts had been converted to date/time format

motus v4.0.5

19 Mar 20:02
Compare
Choose a tag to compare

Bug fixes

  • removed not null constraint on tsEnd in nodeDeps (v4.0.5)
  • fixed bug resulting in occasional unending download loop of GPS fixes for receivers (v4.0.4)
  • fixed bug resulting in error "no applicable method for 'db_has_table'..." (v4.0.3)

motus v4.0.2

27 Oct 18:30
79d8cdc
Compare
Choose a tag to compare

Bug fixes

  • fixed rounding error in filterByActivity() resulting in mismatched hourBins
  • fixed incorrect receiver types and model assignment for CTT receivers

motus v4.0.0

26 Aug 19:29
be6c981
Compare
Choose a tag to compare

Small Changes

  • Add test to metadata in tagDeps table to identify test deployments
    (tagDeployTest in alltags and alltagsGPS views)
  • Add age and sex to metadata in tagDeps table
  • For CTT SensorStation V2
    • Add lat_mean, lon_mean, and n_fixes to gps table
    • Add nodets, firmware, solarVolt, solarCurrent, solarCurrentCumul, lat, and lon to nodeData table
    • Add validated to hits table

Bug fixes

  • Downloading hits no longer fails if extra columns are supplied by the server

Internal changes

  • Internal workings of major motusUpdateXXX() functions split into multiple
    smaller functions to make testing more efficient
  • Added mockery package for mock testing

Version 3.1.0

16 Jul 22:54
c7413a3
Compare
Choose a tag to compare

Small Changes

  • Receiver downloads now have similar progress messages to Project downloads
  • Move GPS fields from alltags to alltagsGPS
  • New function getGPS() adds GPS fields to data
  • Remove NOT NULL constraint on motusTagIDs in ambiguous tag view

Bug fixes

  • Receivers updating to the new version errored on the download start
  • Allow renaming (if possible) of large databases on data updates
  • Continue checking for activity/nodeData even if first batch returns 0
  • nodeDataId is corrected to nodeDataID
  • Warn users with custom views if they need to be removed prior to updating

Version 3.0.0

16 Oct 18:21
c7a014b
Compare
Choose a tag to compare

Big Changes

  • Switch to data version 2
    • Includes new CTT antennas
    • Includes nodeData and nodeDeps tables for node related data and metadata.

Small Changes

  • Replace all cat() with message() (now suppressible)
  • Add recvUtcOffset and tsCorrected to alltags view
  • Add gpsID to gps table, gpsID is now the primary key and index

Bug fixes

  • Fixed bug where tagme(..., countOnly = TRUE) failed