CRAN Package Check Results for Package diagFDR

Last updated on 2026-04-15 03:53:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-gcc 0.1.0 4.68 123.51 128.19 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 12.00 295.62 307.62 OK
r-release-macos-x86_64 0.1.0 5.00 251.00 256.00 OK
r-release-windows-x86_64 0.1.0 11.00 223.00 234.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 16.00 263.00 279.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 Flavor: r-devel-linux-x86_64-debian-gcc