New versions of R packages

Posted 16 November 2022 by Laura Marshall

We are pleased to announce the imminent release of new versions of our R packages Distance and mrds. The information below will be particularly relevant to users of dht2. We recommend all users of these packages update to the newest versions.

A full list of changes and updates is given below.

One important change is that the dht2 function in Distance now requires that the data contains an object column. If your data is missing this column it can easily be added as follows:

distance_data$object <- NA
distance_data$object[!is.na(distance_data$distance)] <- 1:sum(!is.na(distance_data$distance))

This minor changes also affects some of our code example vignettes, available at https://examples.distancesampling.org/ We believe all the affected examples have now been updated.

Thanks to those who have made feature requests or reported issues. If you do find any problems, or want to suggest a new feature, please feel free to raise an issue at https://github.com/DistanceDevelopment/distance-bugs/issues or in the github page for each package

https://github.com/DistanceDevelopment/Distance/issues

https://github.com/DistanceDevelopment/mrds/issues

Full list of changes and updates:

Distance

Changes in version 1.0.7 (accepted to CRAN 16/11/2022)

mrds

Changes in version 2.2.8 (submitted to on CRAN 16/11/2022)