CRAN Package Check Results for Package diagFDR

Last updated on 2026-04-22 03:03:20 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 7.84 175.80 183.64 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 4.86 124.39 129.25 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 13.00 302.82 315.82 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 11.00 289.98 300.98 OK
r-devel-macos-arm64 0.1.0 2.00 51.00 53.00 OK
r-devel-windows-x86_64 0.1.0 10.00 217.00 227.00 OK
r-patched-linux-x86_64 0.1.0 6.65 163.60 170.25 ERROR
r-release-linux-x86_64 0.1.0 5.64 158.25 163.89 ERROR
r-release-macos-arm64 0.1.0 OK
r-release-macos-x86_64 0.1.0 5.00 251.00 256.00 OK
r-release-windows-x86_64 0.1.0 10.00 219.00 229.00 OK
r-oldrel-macos-x86_64 0.1.0 5.00 267.00 272.00 OK
r-oldrel-windows-x86_64 0.1.0 14.00 261.00 275.00 OK

Check Details

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘diagFDR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: dfdr_render_report > ### Title: Render a human-readable HTML report from 'dfdr_run_all' output > ### Aliases: dfdr_render_report > > ### ** Examples > > # A minimal example that renders a report from a toy dataset. > # This example is conditional because rmarkdown is in Suggests. > if (requireNamespace("rmarkdown", quietly = TRUE)) { + library(tibble) + tmpdir <- tempdir() + + set.seed(1) + n <- 3000 + df <- tibble( + id = as.character(seq_len(n)), + run = "run1", + is_decoy = sample(c(FALSE, TRUE), n, replace = TRUE, prob = c(0.95, 0.05)), + score = rnorm(n), + q = pmin(1, rank(-score) / n), + pep = NA_real_ + ) + x <- as_dfdr_tbl(df, unit = "psm", scope = "global", q_source = "toy") + + diag <- dfdr_run_all( + xs = list(toy = x), + alpha_main = 0.01, + compute_pseudo_pvalues = FALSE + ) + + # Render to a temporary directory (does not open a browser during checks) + dfdr_render_report(diag, out_dir = tmpdir, open = FALSE) + } Warning in file(con, "w") : cannot open file 'dfdr_report.knit.md': Read-only file system Error in file(con, "w") : cannot open the connection Calls: dfdr_render_report ... <Anonymous> -> <Anonymous> -> write_utf8 -> writeLines -> file 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