CRAN Package Check Results for Package convey

Last updated on 2021-08-02 01:49:45 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.4 16.17 190.28 206.45 OK
r-devel-linux-x86_64-debian-gcc 0.2.4 11.16 147.84 159.00 OK
r-devel-linux-x86_64-fedora-clang 0.2.4 246.33 OK
r-devel-linux-x86_64-fedora-gcc 0.2.4 155.49 OK
r-devel-windows-x86_64 0.2.3 20.00 136.00 156.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 0.2.4 OK
r-patched-linux-x86_64 0.2.3 ERROR
r-patched-solaris-x86 0.2.4 334.90 OK
r-release-linux-x86_64 0.2.4 13.05 181.70 194.75 OK
r-release-macos-arm64 0.2.4 NOTE
r-release-macos-x86_64 0.2.4 OK
r-release-windows-ix86+x86_64 0.2.3 32.00 132.00 164.00 ERROR
r-oldrel-macos-x86_64 0.2.4 OK
r-oldrel-windows-ix86+x86_64 0.2.3 22.00 135.00 157.00 ERROR

Check Details

Version: 0.2.3
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-windows-ix86+x86_64

Version: 0.2.3
Check: examples
Result: ERROR
    Running examples in 'convey-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: contrastinf
    > ### Title: Generalized linearization of a smooth function of survey
    > ### statistics
    > ### Aliases: contrastinf
    >
    > ### ** Examples
    >
    > library(survey)
    Loading required package: grid
    Loading required package: Matrix
    Loading required package: survival
    
    Attaching package: 'survey'
    
    The following object is masked from 'package:graphics':
    
     dotchart
    
    > library(laeken)
    > data(eusilc) ; names( eusilc ) <- tolower( names( eusilc ) )
    >
    > # linearized design
    > des_eusilc <- svydesign( ids = ~rb030 , strata = ~db040 , weights = ~rb050 , data = eusilc )
    > des_eusilc <- convey_prep(des_eusilc)
    >
    > w <- weights(des_eusilc)
    >
    > # ratio linearization
    > T1 = list(value = sum(w*eusilc$eqincome) , lin = eusilc$eqincome )
    > T2 = list(value = sum(w), lin = rep (1, nrow(eusilc)) )
    > list_all <- list( T1 = T1, T2 = T2)
    > lin_R = contrastinf (quote(T1/T2), list_all)
    >
    > # estimate of the variable eqincome mean
    > lin_R$value
    [1] 19890.81
    > # se estimate of the variable eqincome mean
    > SE(svytotal(lin_R$lin, des_eusilc))
     [,1]
    [1,] 86.82948
    > # to check, use
    > svymean (~eqincome, des_eusilc)
     mean SE
    eqincome 19891 86.829
    >
    > # quintile share ratio (qsr) linearization
    > S20 <- svyisq(~ eqincome, design = des_eusilc, .20)
    Error in x - incvar : non-numeric argument to binary operator
    Calls: svyisq -> svyisq.survey.design -> densfun
    Execution halted
Flavors: r-devel-windows-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.2.3
Check: examples
Result: ERROR
    Running examples in ‘convey-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: contrastinf
    > ### Title: Generalized linearization of a smooth function of survey
    > ### statistics
    > ### Aliases: contrastinf
    >
    > ### ** Examples
    >
    > library(survey)
    Loading required package: grid
    Loading required package: Matrix
    Loading required package: survival
    
    Attaching package: ‘survey’
    
    The following object is masked from ‘package:graphics’:
    
     dotchart
    
    > library(laeken)
    > data(eusilc) ; names( eusilc ) <- tolower( names( eusilc ) )
    >
    > # linearized design
    > des_eusilc <- svydesign( ids = ~rb030 , strata = ~db040 , weights = ~rb050 , data = eusilc )
    > des_eusilc <- convey_prep(des_eusilc)
    >
    > w <- weights(des_eusilc)
    >
    > # ratio linearization
    > T1 = list(value = sum(w*eusilc$eqincome) , lin = eusilc$eqincome )
    > T2 = list(value = sum(w), lin = rep (1, nrow(eusilc)) )
    > list_all <- list( T1 = T1, T2 = T2)
    > lin_R = contrastinf (quote(T1/T2), list_all)
    >
    > # estimate of the variable eqincome mean
    > lin_R$value
    [1] 19890.81
    > # se estimate of the variable eqincome mean
    > SE(svytotal(lin_R$lin, des_eusilc))
     [,1]
    [1,] 86.82948
    > # to check, use
    > svymean (~eqincome, des_eusilc)
     mean SE
    eqincome 19891 86.829
    >
    > # quintile share ratio (qsr) linearization
    > S20 <- svyisq(~ eqincome, design = des_eusilc, .20)
    Error in x - incvar : non-numeric argument to binary operator
    Calls: svyisq -> svyisq.survey.design -> densfun
    Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.2.4
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘RODBC’
Flavor: r-release-macos-arm64