CRAN Package Check Results for Package DanielBiostatistics10th

Last updated on 2026-06-08 02:51:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.6 5.66 44.33 49.99 OK
r-devel-linux-x86_64-debian-gcc 0.2.6 4.30 31.56 35.86 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.6 10.00 69.25 79.25 OK
r-devel-linux-x86_64-fedora-gcc 0.2.6 10.00 67.57 77.57 OK
r-devel-windows-x86_64 0.2.6 9.00 68.00 77.00 OK
r-patched-linux-x86_64 0.2.6 6.01 40.64 46.65 OK
r-release-linux-x86_64 0.2.6 4.87 40.16 45.03 OK
r-release-macos-arm64 0.2.6 2.00 14.00 16.00 OK
r-release-macos-x86_64 0.2.6 5.00 44.00 49.00 OK
r-release-windows-x86_64 0.2.6 10.00 68.00 78.00 OK
r-oldrel-macos-arm64 0.2.6 OK
r-oldrel-macos-x86_64 0.2.6 5.00 42.00 47.00 OK
r-oldrel-windows-x86_64 0.2.6 12.00 78.00 90.00 OK

Check Details

Version: 0.2.6
Check: examples
Result: ERROR Running examples in ‘DanielBiostatistics10th-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: Chapter11 > ### Title: Chapter 11: Regression Analysis: Some Additional Techniques > ### Aliases: Chapter11 > > ### ** Examples > > library(DanielBiostatistics10th) > > # Example 11.1.1; Page 540, > head(EXA_C11_S01_01) case conc logConc 1 1 0.30 -0.52 2 2 2.75 0.44 3 3 2.27 0.36 4 4 2.37 0.37 5 5 1.12 0.05 6 6 0.60 -0.22 > head(log(EXA_C11_S01_01$conc, base = 10)) [1] -0.52287875 0.43933269 0.35602586 0.37474835 0.04921802 -0.22184875 > head(EXA_C11_S01_01$logConc) [1] -0.52 0.44 0.36 0.37 0.05 -0.22 > > # Example 11.1.2; Page 542, > head(EXA_C11_S01_02) case sbp weight bmi 1 1 126 125 24.41 2 2 129 130 23.77 3 3 126 132 20.07 4 4 123 200 27.12 5 5 124 321 39.07 6 6 125 100 20.90 > cor.test(~ sbp + weight, data = EXA_C11_S01_02) Pearson's product-moment correlation data: sbp and weight t = -1.0887, df = 13, p-value = 0.2961 alternative hypothesis: true correlation is not equal to 0 95 percent confidence interval: -0.69797 0.26200 sample estimates: cor -0.2890581 > cor.test(~ sbp + bmi, data = EXA_C11_S01_02) Pearson's product-moment correlation data: sbp and bmi t = -0.78459, df = 13, p-value = 0.4468 alternative hypothesis: true correlation is not equal to 0 95 percent confidence interval: -0.6536907 0.3362598 sample estimates: cor -0.2126292 > > # Example 11.2.1; Page 545, > head(EXA_C11_S02_01) CASENO GRAMS WEEKS SMOKE 1 1 3147 40 0 2 2 2977 41 0 3 3 3119 38 0 4 4 3487 38 0 5 5 4111 39 0 6 6 3572 41 0 > d1121 = within(EXA_C11_S02_01, expr = { + SMOKE = as.logical(SMOKE) + }) > xlab1121 = 'Length of gestation (weeks)'; ylab1121 = 'Birth weight (grams)' > car::scatterplot(GRAMS ~ WEEKS | SMOKE, data = d1121, regLine = FALSE, smooth = FALSE, + xlab = xlab1121, ylab = ylab1121, main = 'Figure 11.2.1') Error in loadNamespace(x) : there is no package called ‘car’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc