CRAN Package Check Results for Package mthapower

Last updated on 2022-01-18 10:17:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 1.78 28.43 30.21 NOTE
r-devel-linux-x86_64-debian-gcc 0.1.1 1.61 22.26 23.87 NOTE
r-devel-linux-x86_64-fedora-clang 0.1.1 37.28 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 26.11 NOTE
r-devel-windows-x86_64-new-UL 0.1.1 26.00 51.00 77.00 NOTE
r-devel-windows-x86_64-new-TK 0.1.1 ERROR
r-patched-linux-x86_64 0.1.1 1.54 27.26 28.80 NOTE
r-release-linux-x86_64 0.1.1 NOTE
r-release-macos-arm64 0.1.1 NOTE
r-release-macos-x86_64 0.1.1 NOTE
r-release-windows-ix86+x86_64 0.1.1 5.00 35.00 40.00 NOTE
r-oldrel-macos-x86_64 0.1.1 OK
r-oldrel-windows-ix86+x86_64 0.1.1 5.00 34.00 39.00 OK

Check Details

Version: 0.1.1
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
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-x86_64-new-UL, r-devel-windows-x86_64-new-TK, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 0.1.1
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'car'
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in 'mthapower-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: mthapower
    > ### Title: Power calculations - mtDNA haplogroups
    > ### Aliases: mthapower
    >
    > ### ** Examples
    >
    > # Example 1:
    > pow <- mthapower(n.cases=203, p0=0.443, Nh=13, OR.cas.ctrl=2.33, sig.level=0.05)
    >
    > # Example 2:
    > # Create data frames
    > pow.H150 <- mthapower(n.cases=seq(50,1000,by=50), p0=0.433, Nh=11,
    + OR.cas.ctrl=1.5, sig.level=0.05)
    > pow.H175 <- mthapower(n.cases=seq(50,1000,by=50), p0=0.433, Nh=11,
    + OR.cas.ctrl=1.75, sig.level=0.05)
    > pow.H200 <- mthapower(n.cases=seq(50,1000,by=50), p0=0.433, Nh=11,
    + OR.cas.ctrl=2, sig.level=0.05)
    > pow.H250 <- mthapower(n.cases=seq(50,1000,by=50), p0=0.433, Nh=11,
    + OR.cas.ctrl=2.5, sig.level=0.05)
    >
    > # Bind the three data frames:
    > bindata <- rbind(pow.H150,pow.H175,pow.H200,pow.H250)
    > # Adds column OR to binded data frame:
    > bindata$OR <- rep(factor(c(1.50,1.75,2,2.5)),
    + times = c(nrow(pow.H150),
    + nrow(pow.H175),
    + nrow(pow.H200),
    + nrow(pow.H250)))
    > # Create plot:
    > # install.packages("car")
    > library(car)
    Error in library(car) : there is no package called 'car'
    Execution halted
Flavor: r-devel-windows-x86_64-new-TK