CRAN Package Check Results for Maintainer ‘Xin Huang <xhuang.fhcrc at gmail.com>’

Last updated on 2022-04-24 03:53:07 CEST.

Package NOTE
optAUC 12

Package optAUC

Current CRAN status:

Version: 1.0
Check: dependencies in R code
Result: NOTE
    Package in Depends field not imported from: 'MASS'
     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-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0
Check: R code for possible problems
Result: NOTE
    nlsolve: no visible global function definition for 'optim'
    nlsolve: no visible global function definition for 'runif'
    optAUC: no visible global function definition for 'var'
    Undefined global functions or variables:
     optim runif var
    Consider adding
     importFrom("stats", "optim", "runif", "var")
    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-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0
Check: Rd line widths
Result: NOTE
    Rd file 'optAUC-package.Rd':
     \examples lines wider than 100 characters:
     Y1Y2<-mvrnorm(n, c(y1.mean,y2.mean), matrix(c(y1.sd^2,rho*y1.sd*y2.sd, rho*y1.sd*y2.sd, y2.sd^2),2,2))
     # two markers in the model, the AUC from GCV is smaller than just first marker in the model, because the second marker is noise
     # the AUC from ACV (apearent estimate by substituting the estimated beta into the model) is larger than previous model, because overfit ... [TRUNCATED]
    
    Rd file 'optAUC.Rd':
     \examples lines wider than 100 characters:
     Y1Y2<-mvrnorm(n, c(y1.mean,y2.mean), matrix(c(y1.sd^2,rho*y1.sd*y2.sd, rho*y1.sd*y2.sd, y2.sd^2),2,2))
     # two markers in the model, the AUC from GCV is smaller than just first marker in the model, because the second marker is noise
     # the AUC from ACV (apearent estimate by substituting the estimated beta into the model) is larger than previous model, because overfit ... [TRUNCATED]
    
    These lines will be truncated in the PDF 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