- using R version 4.4.1 (2024-06-14)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘iccmult/DESCRIPTION’ ... OK
- this is package ‘iccmult’ version ‘1.0.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘iccmult’ can be installed ... [3s/4s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s/3s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [3s/3s] ERROR
Running examples in ‘iccmult-Ex.R’ failed
The error most likely occurred in:
> ### Name: rccat
> ### Title: Generate Correlated Clustered Categorical Data
> ### Aliases: rccat
>
> ### ** Examples
>
> rccat(rho=0.2, prop=c(0.2, 0.3, 0.5), prvar=0, noc=5, csize=20, csvar=0.2)
cid y
1 1 2
2 1 3
3 1 2
4 1 2
5 1 3
6 1 1
7 1 3
8 1 3
9 1 3
10 1 3
11 1 3
12 1 3
13 1 2
14 1 3
15 1 3
16 1 3
17 1 1
18 2 2
19 2 2
20 2 3
21 2 3
22 2 2
23 2 3
24 2 3
25 2 2
26 2 2
27 2 2
28 2 2
29 2 3
30 2 2
31 2 2
32 2 2
33 2 2
34 2 2
35 2 2
36 2 1
37 2 2
38 2 3
39 2 3
40 3 2
41 3 2
42 3 3
43 3 3
44 3 3
45 3 3
46 3 3
47 3 3
48 3 3
49 3 2
50 3 1
51 3 3
52 3 1
53 3 3
54 3 3
55 3 3
56 3 3
57 3 3
58 3 2
59 3 3
60 3 3
61 3 3
62 3 2
63 4 3
64 4 3
65 4 3
66 4 3
67 4 2
68 4 3
69 4 1
70 4 3
71 4 2
72 4 3
73 4 3
74 4 3
75 4 3
76 4 3
77 4 3
78 4 1
79 4 3
80 5 2
81 5 2
82 5 3
83 5 3
84 5 2
85 5 2
86 5 3
87 5 3
88 5 1
89 5 3
90 5 3
91 5 3
92 5 3
93 5 3
94 5 3
95 5 3
96 5 3
97 5 2
98 5 2
99 5 3
100 5 3
101 5 3
> rccat(rho=0.1, prop=c(0.2, 0.4, 0.3, 0.1), prvar=0.10, noc=30, csize=40, csvar=0)
Error in rccat(rho = 0.1, prop = c(0.2, 0.4, 0.3, 0.1), prvar = 0.1, noc = 30, :
Categorical event rate probabilities must sum to 1.
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [2s/2s] OK
Running ‘testthat.R’ [2s/2s]
- checking PDF version of manual ... [4s/5s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '