Running examples in ‘cta-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ci.table
> ### Title: Test-Inversion CIs for Estimands in Contingency Tables
> ### Aliases: ci.table
> ### Keywords: htest
> 
> ### ** Examples
> 
> ### Construct test-inversion CIs subject to equality constraints.
> 
> # I. Mice-Fungicide data: Innes et al. (1969) conducted an experiment
> #    to test the possible carcinogenic effect of a fungicide Avadex on
> #    four subgroups of mice. The data is reproduced as a 2-by-2-by-4
> #    three-way contingency table. Within each of the four 2-by-2 two-way
> #    sub-tables, there is one fixed stratum for the treated group, and
> #    there is also one fixed stratum for the control group. Overall,
> #    the data was collected under the product-multinomial sampling scheme.
> #    We assume that the relative risks that correspond to the four 2-by-2
> #    two-way sub-tables are the same, and we construct 95% test-inversion
> #    confidence intervals for this common relative risk.
> #
> #    For a detailed description of the Mice-Fungicide data set, see
> #    Gart (1971):
> #    Gart, J. J. (1971) The comparison of proportions: a review of
> #    significance tests, confidence intervals and adjustments for
> #    stratification. Revue de l'Institut International de Statistique,
> #    39(2), pp. 148-169.
> 
> obs.y <- c(4, 12, 5, 74, 2, 14, 3, 84, 4, 14, 10, 80, 1, 14, 3, 79)
> 
> h.fct <- function(p) {
+   RR_1 <- p[1] / p[3]
+   RR_2 <- p[5] / p[7]
+   RR_3 <- p[9] / p[11]
+   RR_4 <- p[13] / p[15]
+   rbind(RR_1 - RR_2, RR_1 - RR_3, RR_1 - RR_4)
+ }
> 
> S.fct <- function(p) {
+   p[1] / p[3]
+ }
> 
> mice_result <- ci.table(obs.y, h.fct = h.fct, S.fct = S.fct,
+                         S.space.H0 = c(0, Inf), trans.g = "log",
+                         strata = rep(seq(1, 8), each = 2))
Error in .local(x, ...) : DLL requires the use of native symbols
Calls: ci.table ... FUN -> .local -> reduce -> reduce -> .local -> .Call
Execution halted