CRAN Package Check Results for Package JointRegBC

Last updated on 2018-06-17 19:49:45 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 5.10 53.11 58.21 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 4.20 42.53 46.73 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 69.68 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 67.29 NOTE
r-devel-windows-ix86+x86_64 0.1.1 11.00 84.00 95.00 NOTE
r-patched-linux-x86_64 0.1.1 3.92 45.29 49.21 ERROR
r-patched-solaris-x86 0.1.1 96.50 NOTE
r-release-linux-x86_64 0.1.1 3.70 44.69 48.39 ERROR
r-release-windows-ix86+x86_64 0.1.1 12.00 57.00 69.00 NOTE
r-release-osx-x86_64 0.1.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1.1 6.00 75.00 81.00 NOTE
r-oldrel-osx-x86_64 0.1.1 NOTE

Check Details

Version: 0.1.1
Check: dependencies in R code
Result: NOTE
    Packages in Depends field not imported from:
     ‘MASS’ ‘nlme’ ‘survival’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
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-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     JointRegBC.default
    See section ‘Registering S3 methods’ 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-patched-solaris-x86, r-release-linux-x86_64

Version: 0.1.1
Check: R code for possible problems
Result: NOTE
    JointRegBC.default : f: no visible global function definition for
     ‘pnorm’
    JointRegBC.default : f: no visible global function definition for
     ‘dnorm’
    JointRegBC.default: no visible global function definition for ‘nlminb’
    JointRegBC.default: no visible global function definition for ‘fdHess’
    JointRegBC.default: no visible global function definition for ‘ginv’
    Undefined global functions or variables:
     dnorm fdHess ginv nlminb pnorm
    Consider adding
     importFrom("stats", "dnorm", "nlminb", "pnorm")
    to your NAMESPACE file.
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-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘JointRegBC-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: JointRegBC-package
    > ### Title: Joint Modelling of Mixed Correlated Binary and Continuous
    > ### Responses : A Latent Variable Approach.
    > ### Aliases: JointRegBC-package
    > ### Keywords: regression
    >
    > ### ** Examples
    >
    > data("Bahrami1")
    > gender<-Bahrami1$ GENDER
    > age<-Bahrami1$AGE
    > duration <-Bahrami1$ DURATION
    > y<-Bahrami1$ STEATOS
    > z<-Bahrami1$ BMI
    > sbp<-Bahrami1$ SBP
    > X=cbind(gender,age,duration ,sbp)
    > P<-lm(z~X)[[1]]
    > names(P)<-paste("Con_",names(P),sep="")
    > Q<-clogit(y~X)[[1]]
    > names(Q)<-paste("Binary",names(Q),sep="")
    > W=c(cor(y,z),var(z))
    > names(W)=c("Corr","Variance of Continuous Response")
    > ini=c(P,Q,W)
    > p=5;
    > q=4;
    > JointRegBC(ini,X=X,y=y,z=z,p=p,q=q)
    Error in UseMethod("JointRegBC") :
     no applicable method for 'JointRegBC' applied to an object of class "c('double', 'numeric')"
    Calls: JointRegBC
    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