CRAN Package Check Results for Package JointRegBC

Last updated on 2018-06-18 23:50:19 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 4.43 48.44 52.87 ERROR
r-release-windows-ix86+x86_64 0.1.1 9.00 75.00 84.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-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.
Flavor: r-devel-linux-x86_64-debian-clang

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-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
Flavor: r-devel-linux-x86_64-debian-clang