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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: svygeidec
> ### Title: Generalized entropy index Decomposition
> ### Aliases: svygeidec svygeidec.survey.design svygeidec.svyrep.design
> ###   svygeidec.DBIsvydesign
> ### Keywords: survey
> 
> ### ** 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(vardpoor)
Loading required package: data.table
Loading required package: laeken
Loading required package: boot

Attaching package: ‘boot’

The following object is masked from ‘package:survival’:

    aml

Loading required package: MASS
Loading required package: stringr
> 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)
> 
> # replicate-weighted design
> des_eusilc_rep <- as.svrepdesign( des_eusilc , type = "bootstrap" )
> des_eusilc_rep <- convey_prep(des_eusilc_rep)
> 
> # linearized design
> svygeidec( ~eqincome , ~rb090 , subset( des_eusilc, eqincome > 0 ) , epsilon = 0 )
         total    within between
coef 0.1313692 0.1305815   8e-04
SE   0.0024338 0.0024313   2e-04
> svygeidec( ~eqincome , ~rb090 , subset( des_eusilc, eqincome > 0 ) , epsilon = .5 )
         total    within between
coef 0.1216138 0.1208260   8e-04
SE   0.0019665 0.0020076   2e-04
> svygeidec( ~eqincome , ~rb090 , subset( des_eusilc, eqincome > 0 ) , epsilon = 1 )
         total    within between
coef 0.1205269 0.1197390  0.0008
SE   0.0020878 0.0017276  0.0013
> svygeidec( ~eqincome , ~rb090 , subset( des_eusilc, eqincome > 0 ) , epsilon = 2 )
         total    within between
coef 0.1367496 0.1359613   8e-04
SE   0.0034641 0.0037312   6e-04
> 
> # replicate-weighted design
> svygeidec( ~eqincome , ~rb090 , subset( des_eusilc_rep, eqincome > 0 ) , epsilon = 0 )
Error in nrow(f.data) : object 'f.data' not found
Calls: svygeidec ... by.data.frame -> structure -> eval -> eval -> tapply -> nrow
Execution halted