The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Last updated on 2026-04-15 05:53:35 CEST.
| Package | ERROR | OK |
|---|---|---|
| diagFDR | 1 | 7 |
Current CRAN status: ERROR: 1, OK: 7
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
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.