* using log directory ‘/srv/hornik/tmp/CRAN/ProbSamplingI.Rcheck’ * using R Under development (unstable) (2023-09-17 r85158) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 16.0.6 (13) GNU Fortran (Debian 13.2.0-3) 13.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘ProbSamplingI/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘ProbSamplingI’ version ‘1.2’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Jorge Barón ’ New maintainer: Jorge Barón Old maintainer(s): Jorge Baron The Date field is over a month old. * 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 serialization versions ... OK * checking whether package ‘ProbSamplingI’ can be installed ... [2s/2s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: ‘ProbSamplingI.pdf’ * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking use of S3 registration ... 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 ... [6s/6s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 ... [2s/2s] ERROR Running examples in ‘ProbSamplingI-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: M.MET > ### Title: Multi-Stage Sampling > ### Aliases: M.MET > > ### ** Examples > > #Selection and estimation using a 4-stage sampling > > F.UPM<-rep(1:5,each=1000) > F.USM<-rep(1:5,each=200,length=5000) > F.UTM<-rep(1:10,each=20,length=5000) > F.UCM<-rep(1:20,length=5000) > F.UM<-data.frame(F.UPM,F.USM,F.UTM,F.UCM) > p<-c(0.3,0.3,0.3,0.2) > y<-rnorm(5000,10,2) > z<-rnorm(5000,12,2) > y.p<-as.factor(ifelse(y>10,"A","B")) > Sex<-rep(1:2,length=5000) > d<-factor(Sex,labels=c("Man","Woman")) > > designs<-c("MAS","MAS","MAS","MAS") > select<-M.MET(F.UM=F.UM,p=p,designs=designs) > F.UM.s<-select$Sample[6:8] > yk<-y[select$Sample$IND] > yk.p<-y.p[select$Sample$IND] > zk<-z[select$Sample$IND] > dk<-d[select$Sample$IND] > list<-select$Results > M.MET(yk=yk,F.UM=F.UM.s,p=p,designs=designs,list.arg=list, + type="estm",parameter="total") $Estimation total Vest e.e Cve IC.inf IC.sup 1 47904.8 1131738 1063.832 2.22072 45764.64 50044.95 > M.MET(yk=yk,F.UM=F.UM.s,p=p,designs=designs,list.arg=list, + type="estm",parameter="mean") $Estimation mean Vest e.e Cve IC.inf IC.sup 1 9.580959 0.0452695 0.2127663 2.22072 9.152929 10.00899 > M.MET(yk=yk.p,F.UM=F.UM.s,p=p,designs=designs,list.arg=list, + type="estm",parameter="prop") $Estimation Uz prop Vest e.e Cve IC.inf IC.sup 1 A 0.3125 0.003435417 0.05861243 18.755977 0.194587 0.430413 2 B 0.6875 0.003435417 0.05861243 8.525444 0.569587 0.805413 > M.MET(yk=yk,zk=zk,F.UM=F.UM.s,p=p,designs=designs,list.arg=list, + type="estm",parameter="ratio") $Estimation ratio Vest e.e Cve IC.inf IC.sup 1 0.8251318 0.0003558581 0.0188642 2.286205 0.7871819 0.8630817 > M.MET(yk=yk,dk=dk,F.UM=F.UM.s,p=p,designs=designs,list.arg=list, + type="estm.Ud",parameter="total") $Estimation total Vest e.e Cve IC.inf IC.sup Man 30107.02 1643710 1282.073 4.258384 27527.82 32686.22 Woman 17797.77 1741841 1319.788 7.415467 15142.70 20452.85 > M.MET(yk=yk,dk=dk,F.UM=F.UM.s,p=p,designs=designs,list.arg=list, + type="estm.Ud",parameter="mean") $Estimation mean Vest e.e Cve IC.inf IC.sup Man 9.323465 0.13772254 0.3711099 3.980386 8.576888 10.07004 Woman 10.050508 0.05831469 0.2414843 2.402708 9.564704 10.53631 > M.MET(yk=yk.p,dk=dk,F.UM=F.UM.s,p=p,designs=designs,list.arg=list, + type="estm.Ud",parameter="prop") $Estimation Ud Uz prop Vest e.e Cve IC.inf IC.sup 1 Man A 0.2903226 0.008093307 0.08996281 30.987190 0.1093408 0.4713044 2 Man B 0.7096774 0.008093307 0.08996281 12.676578 0.5286956 0.8906592 3 Woman A 0.3529412 0.003731526 0.06108622 17.307762 0.2300516 0.4758308 4 Woman B 0.6470588 0.003731526 0.06108622 9.440598 0.5241692 0.7699484 > M.MET(yk=yk,zk=zk,dk=dk,F.UM=F.UM.s,p=p,designs=designs,list.arg=list, + type="estm.Ud",parameter="ratio") $Estimation ratio Vest e.e Cve IC.inf IC.sup Man 0.8094415 0.0012178331 0.03489747 4.311302 0.7392368 0.8796461 Woman 0.8531056 0.0005802484 0.02408835 2.823607 0.8046461 0.9015651 > > > xk<-rnorm(5000,10,2) > designs<-c("PiPT","MAS","PiPT","MAS") > select2<-M.MET(xk=xk,F.UM=F.UM,p=p,designs=designs) Error in data.frame(k = U2$k[1:length(Ik)], Ck, Ek = Ek2[1:length(Ik)], : arguments imply differing number of rows: 1, 0 Calls: M.MET -> PiPT -> data.frame Execution halted * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs