aboutsummaryrefslogtreecommitdiff
path: root/R/utils.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/utils.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)