diff options
author | Ken Kellner <ken@kenkellner.com> | 2023-06-29 09:40:45 -0400 |
---|---|---|
committer | Ken Kellner <ken@kenkellner.com> | 2023-06-29 09:40:45 -0400 |
commit | 9f70da0502068e6f82d4fa11c5a8a9d68422d82e (patch) | |
tree | fb57cf46460686d05eeedb04fde3727dc2b9b4cc | |
parent | 58f274de8de03ed0d80a924cbe0a84222bb20c7d (diff) |
Remove (unused?) log.grad function because CRAN think's it's a method
-rw-r--r-- | DESCRIPTION | 4 | ||||
-rw-r--r-- | NEWS.md | 4 | ||||
-rw-r--r-- | R/utils.R | 8 |
3 files changed, 11 insertions, 5 deletions
diff --git a/DESCRIPTION b/DESCRIPTION index 42571fb..94ae43e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: unmarked -Version: 1.3.0 -Date: 2023-06-27 +Version: 1.3.1 +Date: 2023-06-29 Type: Package Title: Models for Data from Unmarked Animals Authors@R: c( @@ -1,3 +1,7 @@ +# unmarked 1.3.1 + +* Remove log.grad function to pass CRAN checks + # unmarked 1.3.0 * Add support for terra package rasters @@ -47,9 +47,11 @@ logistic.grad <- function(x) { } -log.grad <- function(x) { # duh! (but for clarity) - 1/x -} +# This function causes check failures on CRAN because CRAN thinks it's +# a method for the log function. I don't think it's actually used in the package? +#log.grad <- function(x) { # duh! (but for clarity) +# 1/x +#} explink <- function(x) exp(x) |