CRAN Package Check Results for Package oii

Last updated on 2021-06-18 22:54:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2.1 2.31 33.25 35.56 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.2.1 1.83 25.78 27.61 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.2.1 51.46 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.2.1 39.84 NOTE
r-devel-windows-x86_64 1.0.2.1 6.00 47.00 53.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 1.0.2.1 NOTE
r-patched-linux-x86_64 1.0.2.1 3.03 31.80 34.83 NOTE
r-patched-solaris-x86 1.0.2.1 65.30 NOTE
r-release-linux-x86_64 1.0.2.1 2.66 31.89 34.55 NOTE
r-release-macos-arm64 1.0.2.1 ERROR
r-release-macos-x86_64 1.0.2.1 NOTE
r-release-windows-ix86+x86_64 1.0.2.1 7.00 50.00 57.00 NOTE
r-oldrel-macos-x86_64 1.0.2.1 OK
r-oldrel-windows-ix86+x86_64 1.0.2.1 6.00 47.00 53.00 OK

Check Details

Version: 1.0.2.1
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 1.0.2.1
Check: examples
Result: ERROR
    Running examples in ‘oii-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: oii.xtab
    > ### Title: A cross-tabulation with measures of association
    > ### Aliases: oii.xtab
    >
    > ### ** Examples
    >
    > #Create var1 as 200 A's, B's, and C's
    > var1<-sample(LETTERS[1:3],size=200,replace=TRUE)
    > #Create var2 as 200 numbers in the range 1 to 4
    > var2<-sample(1:4,size=200,replace=TRUE)
    >
    > #Print a simple 2-way table of var1 and var2
    > oii.xtab(var1,var2)
    
    Cross-tabulation of var1 (rows) and var2 (cols)
    
     Cell Contents
    |-------------------------|
    | Count |
    |-------------------------|
    
    Total Observations in Table: 200
    
     |
     | 1 | 2 | 3 | 4 | Row Total |
    -------------|-----------|-----------|-----------|-----------|-----------|
     A | 18 | 24 | 11 | 13 | 66 |
    -------------|-----------|-----------|-----------|-----------|-----------|
     B | 24 | 12 | 15 | 17 | 68 |
    -------------|-----------|-----------|-----------|-----------|-----------|
     C | 18 | 12 | 15 | 21 | 66 |
    -------------|-----------|-----------|-----------|-----------|-----------|
    Column Total | 60 | 48 | 41 | 51 | 200 |
    -------------|-----------|-----------|-----------|-----------|-----------|
    
    
    >
    > #Print the row and column percents
    > oii.xtab(var1,var2,row=TRUE,col=TRUE)
    
    Cross-tabulation of var1 (rows) and var2 (cols)
    
     Cell Contents
    |-------------------------|
    | Count |
    | Row Percent |
    | Column Percent |
    |-------------------------|
    
    Total Observations in Table: 200
    
     |
     | 1 | 2 | 3 | 4 | Row Total |
    -------------|-----------|-----------|-----------|-----------|-----------|
     A | 18 | 24 | 11 | 13 | 66 |
     | 27.27% | 36.36% | 16.67% | 19.70% | 33.00% |
     | 30.00% | 50.00% | 26.83% | 25.49% | |
    -------------|-----------|-----------|-----------|-----------|-----------|
     B | 24 | 12 | 15 | 17 | 68 |
     | 35.29% | 17.65% | 22.06% | 25.00% | 34.00% |
     | 40.00% | 25.00% | 36.59% | 33.33% | |
    -------------|-----------|-----------|-----------|-----------|-----------|
     C | 18 | 12 | 15 | 21 | 66 |
     | 27.27% | 18.18% | 22.73% | 31.82% | 33.00% |
     | 30.00% | 25.00% | 36.59% | 41.18% | |
    -------------|-----------|-----------|-----------|-----------|-----------|
    Column Total | 60 | 48 | 41 | 51 | 200 |
     | 30.00% | 24.00% | 20.50% | 25.50% | |
    -------------|-----------|-----------|-----------|-----------|-----------|
    
    
    >
    > #Print measures of association statistics
    > oii.xtab(var1,var2,stats=TRUE)
    
    Cross-tabulation of var1 (rows) and var2 (cols)
    
     Cell Contents
    |-------------------------|
    | Count |
    |-------------------------|
    
    Total Observations in Table: 200
    
     |
     | 1 | 2 | 3 | 4 | Row Total |
    -------------|-----------|-----------|-----------|-----------|-----------|
     A | 18 | 24 | 11 | 13 | 66 |
    -------------|-----------|-----------|-----------|-----------|-----------|
     B | 24 | 12 | 15 | 17 | 68 |
    -------------|-----------|-----------|-----------|-----------|-----------|
     C | 18 | 12 | 15 | 21 | 66 |
    -------------|-----------|-----------|-----------|-----------|-----------|
    Column Total | 60 | 48 | 41 | 51 | 200 |
    -------------|-----------|-----------|-----------|-----------|-----------|
    
    
    Statistics for All Table Factors
    
    
    Pearson's Chi-squared test
    ------------------------------------------------------------
    Chi^2 = 9.865513 d.f. = 6 p = 0.130431
    
    
    
     Minimum expected frequency: 13.53
Flavor: r-release-macos-arm64