From d9f3ec61db93f8dbc2f44b349f00c7a360f3ff9c Mon Sep 17 00:00:00 2001 From: Laura Marshall Date: Mon, 17 Mar 2025 14:29:23 +0000 Subject: [PATCH] ... will no longer be deprecated in summarize_ds_models --- DESCRIPTION | 2 +- NEWS.md | 2 +- R/summarize_ds_models.R | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 3827240..0314c3d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -16,7 +16,7 @@ Description: A simple way of fitting detection functions to distance sampling Horvitz-Thompson-like estimator) if survey area information is provided. See Miller et al. (2019) for more information on methods and for example analyses. -Version: 2.0.0.9007 +Version: 2.0.0.9008 URL: https://github.com/DistanceDevelopment/Distance/ BugReports: https://github.com/DistanceDevelopment/Distance/issues Language: en-GB diff --git a/NEWS.md b/NEWS.md index 8f01c91..9c2127d 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ * Fixes issue with print dht2 when multipliers are a data.frame (Issue #179) * Fixes bug when including a uniform with no adjustment terms in the summarize_ds_models function (Issue #180) -* Users to pass a list of models to summarize_ds_models rather than passing them individually. (Issue #149) +* Users can alternatively pass a list of models to summarize_ds_models rather than passing them individually. (Issue #149) * Truncation distances greater than the largest cutpoint value for binned data are no longer permitted as these cause fitting issues. (Issue #175) * print.dht_result now displays estimates for groups as well as individuals by default when group size is present. (Issue #178) diff --git a/R/summarize_ds_models.R b/R/summarize_ds_models.R index 56558b4..e050bd5 100644 --- a/R/summarize_ds_models.R +++ b/R/summarize_ds_models.R @@ -39,7 +39,6 @@ summarize_ds_models <- function(..., models=list(), sort="AIC", output="latex", } # Check if user is supplying via new models argument or not if(length(models) == 0){ - warning("Passing models via ... will be depricated in the next release, please pass models in a list using the models argument.", immediate. = TRUE, call. = FALSE) # get the models from ... models <- tmp # get the model names