From 669447c2a4581a4c8dba18ab40ba6938a42b8267 Mon Sep 17 00:00:00 2001
From: Johannes Ranke
Date: Thu, 31 Oct 2019 02:50:16 +0100
Subject: Comment out example code that fails in pkgdown
---
R/lrtest.mkinfit.R | 7 +++++--
docs/reference/lrtest.mkinfit.html | 7 ++++++-
man/lrtest.mkinfit.Rd | 7 +++++--
3 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/R/lrtest.mkinfit.R b/R/lrtest.mkinfit.R
index 9c0a9039..60b6c46a 100644
--- a/R/lrtest.mkinfit.R
+++ b/R/lrtest.mkinfit.R
@@ -30,8 +30,11 @@ lmtest::lrtest
#' dfop_fit <- mkinfit("DFOP", test_data, quiet = TRUE)
#' lrtest(dfop_fit, sfo_fit)
#' lrtest(sfo_fit, dfop_fit)
-#' lrtest(dfop_fit, error_model = "tc")
-#' lrtest(dfop_fit, fixed_parms = c(k2 = 0))
+#'
+#' # The following two examples are commented out as they fail during
+#' # generation of the static help pages by pkgdown
+#' # lrtest(dfop_fit, error_model = "tc")
+#' # lrtest(dfop_fit, fixed_parms = c(k2 = 0))
#' }
#' @export
lrtest.mkinfit <- function(object, object_2 = NULL, ...) {
diff --git a/docs/reference/lrtest.mkinfit.html b/docs/reference/lrtest.mkinfit.html
index dd47d91d..fae471fc 100644
--- a/docs/reference/lrtest.mkinfit.html
+++ b/docs/reference/lrtest.mkinfit.html
@@ -195,7 +195,12 @@ lower number of fitted parameters (null hypothesis).
#> 1 5 -42.453
#> 2 3 -63.954 -2 43.002 4.594e-10 ***
#> ---
-#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1#> Error in mkinfit(mkinmod = "DFOP", observed = test_data, quiet = TRUE, error_model = "tc", parms.ini = c(k1 = 0.359673923258109, k2 = 0.0219997339436148, g = 0.692423284341522), state.ini = c(parent = 103.83323992643)): Objekt 'test_data' nicht gefunden
#> Error in mkinfit(mkinmod = "DFOP", observed = test_data, quiet = TRUE, fixed_parms = ..1, parms.ini = c(k1 = 0.359673923258109, k2 = 0.0219997339436148, g = 0.692423284341522), state.ini = c(parent = 103.83323992643)): Objekt 'test_data' nicht gefunden
# }
+#> Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
+# The following two examples are commented out as they fail during
+# generation of the static help pages by pkgdown
+# lrtest(dfop_fit, error_model = "tc")
+# lrtest(dfop_fit, fixed_parms = c(k2 = 0))
+# }