aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorKen Kellner <ken@kenkellner.com>2023-06-29 09:40:45 -0400
committerKen Kellner <ken@kenkellner.com>2023-06-29 09:40:45 -0400
commit9f70da0502068e6f82d4fa11c5a8a9d68422d82e (patch)
treefb57cf46460686d05eeedb04fde3727dc2b9b4cc /R
parent58f274de8de03ed0d80a924cbe0a84222bb20c7d (diff)
Remove (unused?) log.grad function because CRAN think's it's a method
Diffstat (limited to 'R')
-rw-r--r--R/utils.R8
1 files changed, 5 insertions, 3 deletions
diff --git a/R/utils.R b/R/utils.R
index 9e9dff6..6bfb5ac 100644
--- a/R/utils.R
+++ b/R/utils.R
@@ -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)