CRAN Package Check Results for Package logistf

Last updated on 2018-06-25 07:47:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.22 9.68 91.37 101.05 ERROR
r-devel-linux-x86_64-debian-gcc 1.22 8.38 78.96 87.34 ERROR
r-devel-linux-x86_64-fedora-clang 1.22 133.21 ERROR
r-devel-linux-x86_64-fedora-gcc 1.22 125.81 ERROR
r-devel-windows-ix86+x86_64 1.22 22.00 152.00 174.00 ERROR
r-patched-linux-x86_64 1.22 9.11 85.81 94.92 ERROR
r-patched-solaris-x86 1.22 168.80 ERROR
r-release-linux-x86_64 1.22 8.69 86.21 94.90 ERROR
r-release-windows-ix86+x86_64 1.22 27.00 134.00 161.00 ERROR
r-release-osx-x86_64 1.22 OK
r-oldrel-windows-ix86+x86_64 1.22 23.00 144.00 167.00 ERROR
r-oldrel-osx-x86_64 1.22 OK

Check Details

Version: 1.22
Check: compiled code
Result: NOTE
    File ‘logistf/libs/logistf.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
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-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.22
Check: examples
Result: ERROR
    Running examples in ‘logistf-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: pool.RR
    > ### Title: Compute Pooled Normal Confidence Intervals (following Rubin's
    > ### Rules) after Multiple Imputation
    > ### Aliases: pool.RR
    > ### Keywords: regression models
    >
    > ### ** Examples
    >
    > #generate data set with NAs
    > freq=c(5,2,2,7,5,4)
    > y<-c(rep(1,freq[1]+freq[2]), rep(0,freq[3]+freq[4]), rep(1,freq[5]), rep(0,freq[6]))
    > x<-c(rep(1,freq[1]), rep(0,freq[2]), rep(1,freq[3]), rep(0,freq[4]), rep(NA,freq[5]),
    + rep(NA,freq[6]))
    > toy<-data.frame(x=x,y=y)
    >
    >
    > # impute data set 5 times
    > set.seed(169)
    > toymi<-list(0)
    > for(i in 1:5){
    + toymi[[i]]<-toy
    + y1<-toymi[[i]]$y==1 & is.na(toymi[[i]]$x)
    + y0<-toymi[[i]]$y==0 & is.na(toymi[[i]]$x)
    + xnew1<-rbinom(sum(y1),1,freq[1]/(freq[1]+freq[2]))
    + xnew0<-rbinom(sum(y0),1,freq[3]/(freq[3]+freq[4]))
    + toymi[[i]]$x[y1==TRUE]<-xnew1
    + toymi[[i]]$x[y0==TRUE]<-xnew0
    + }
    >
    >
    > # logistf analyses of each imputed data set
    > fit.list<-lapply(1:5, function(X) logistf(data=toymi[[X]], y~x, pl=TRUE, dataout=TRUE))
    > summary(pool.RR(fit.list))
    Error in sqrt(x$t) : non-numeric argument to mathematical function
    Calls: summary -> summary.mipo
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.22
Check: examples
Result: ERROR
    Running examples in ‘logistf-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: pool.RR
    > ### Title: Compute Pooled Normal Confidence Intervals (following Rubin's
    > ### Rules) after Multiple Imputation
    > ### Aliases: pool.RR
    > ### Keywords: regression models
    >
    > ### ** Examples
    >
    > #generate data set with NAs
    > freq=c(5,2,2,7,5,4)
    > y<-c(rep(1,freq[1]+freq[2]), rep(0,freq[3]+freq[4]), rep(1,freq[5]), rep(0,freq[6]))
    > x<-c(rep(1,freq[1]), rep(0,freq[2]), rep(1,freq[3]), rep(0,freq[4]), rep(NA,freq[5]),
    + rep(NA,freq[6]))
    > toy<-data.frame(x=x,y=y)
    >
    >
    > # impute data set 5 times
    > set.seed(169)
    > toymi<-list(0)
    > for(i in 1:5){
    + toymi[[i]]<-toy
    + y1<-toymi[[i]]$y==1 & is.na(toymi[[i]]$x)
    + y0<-toymi[[i]]$y==0 & is.na(toymi[[i]]$x)
    + xnew1<-rbinom(sum(y1),1,freq[1]/(freq[1]+freq[2]))
    + xnew0<-rbinom(sum(y0),1,freq[3]/(freq[3]+freq[4]))
    + toymi[[i]]$x[y1==TRUE]<-xnew1
    + toymi[[i]]$x[y0==TRUE]<-xnew0
    + }
    >
    >
    > # logistf analyses of each imputed data set
    > fit.list<-lapply(1:5, function(X) logistf(data=toymi[[X]], y~x, pl=TRUE, dataout=TRUE))
    > summary(pool.RR(fit.list))
    Error in sqrt(x$t) : non-numeric argument to mathematical function
    Calls: summary -> summary.mipo
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86

Version: 1.22
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'logistf-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: pool.RR
    > ### Title: Compute Pooled Normal Confidence Intervals (following Rubin's
    > ### Rules) after Multiple Imputation
    > ### Aliases: pool.RR
    > ### Keywords: regression models
    >
    > ### ** Examples
    >
    > #generate data set with NAs
    > freq=c(5,2,2,7,5,4)
    > y<-c(rep(1,freq[1]+freq[2]), rep(0,freq[3]+freq[4]), rep(1,freq[5]), rep(0,freq[6]))
    > x<-c(rep(1,freq[1]), rep(0,freq[2]), rep(1,freq[3]), rep(0,freq[4]), rep(NA,freq[5]),
    + rep(NA,freq[6]))
    > toy<-data.frame(x=x,y=y)
    >
    >
    > # impute data set 5 times
    > set.seed(169)
    > toymi<-list(0)
    > for(i in 1:5){
    + toymi[[i]]<-toy
    + y1<-toymi[[i]]$y==1 & is.na(toymi[[i]]$x)
    + y0<-toymi[[i]]$y==0 & is.na(toymi[[i]]$x)
    + xnew1<-rbinom(sum(y1),1,freq[1]/(freq[1]+freq[2]))
    + xnew0<-rbinom(sum(y0),1,freq[3]/(freq[3]+freq[4]))
    + toymi[[i]]$x[y1==TRUE]<-xnew1
    + toymi[[i]]$x[y0==TRUE]<-xnew0
    + }
    >
    >
    > # logistf analyses of each imputed data set
    > fit.list<-lapply(1:5, function(X) logistf(data=toymi[[X]], y~x, pl=TRUE, dataout=TRUE))
    > summary(pool.RR(fit.list))
    Error in sqrt(x$t) : non-numeric argument to mathematical function
    Calls: summary -> summary.mipo
    Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.22
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'logistf-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: pool.RR
    > ### Title: Compute Pooled Normal Confidence Intervals (following Rubin's
    > ### Rules) after Multiple Imputation
    > ### Aliases: pool.RR
    > ### Keywords: regression models
    >
    > ### ** Examples
    >
    > #generate data set with NAs
    > freq=c(5,2,2,7,5,4)
    > y<-c(rep(1,freq[1]+freq[2]), rep(0,freq[3]+freq[4]), rep(1,freq[5]), rep(0,freq[6]))
    > x<-c(rep(1,freq[1]), rep(0,freq[2]), rep(1,freq[3]), rep(0,freq[4]), rep(NA,freq[5]),
    + rep(NA,freq[6]))
    > toy<-data.frame(x=x,y=y)
    >
    >
    > # impute data set 5 times
    > set.seed(169)
    > toymi<-list(0)
    > for(i in 1:5){
    + toymi[[i]]<-toy
    + y1<-toymi[[i]]$y==1 & is.na(toymi[[i]]$x)
    + y0<-toymi[[i]]$y==0 & is.na(toymi[[i]]$x)
    + xnew1<-rbinom(sum(y1),1,freq[1]/(freq[1]+freq[2]))
    + xnew0<-rbinom(sum(y0),1,freq[3]/(freq[3]+freq[4]))
    + toymi[[i]]$x[y1==TRUE]<-xnew1
    + toymi[[i]]$x[y0==TRUE]<-xnew0
    + }
    >
    >
    > # logistf analyses of each imputed data set
    > fit.list<-lapply(1:5, function(X) logistf(data=toymi[[X]], y~x, pl=TRUE, dataout=TRUE))
    > summary(pool.RR(fit.list))
    Error in sqrt(x$t) : non-numeric argument to mathematical function
    Calls: summary -> summary.mipo
    Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64