Running examples in ‘SerolyzeR-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: generate_levey_jennings_report
> ### Title: Generate a Levey-Jennings Report for Multiple Plates.
> ### Aliases: generate_levey_jennings_report
> 
> ### ** Examples
> 
> output_dir <- tempdir(check = TRUE)
> 
> dir_with_luminex_files <- system.file("extdata", "multiplate_lite",
+   package = "SerolyzeR", mustWork = TRUE
+ )
> list_of_plates <- process_dir(dir_with_luminex_files,
+   return_plates = TRUE, format = "xPONENT", output_dir = output_dir
+ )
Reading Luminex data from: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/SerolyzeR/extdata/multiplate_lite/CovidOISExPONTENT.csv
using format xPONENT
Failed to extract from BatchMetadata: BatchStartTime not found in BatchMetadata.
Failed to extract from raw header: BatchStartTime not found in raw header.
Fallback datetime successfully extracted from ProgramMetadata.
Could not parse datetime string using default datetime format. Trying other possibilies.
Successfully parsed datetime string using order: mdY IM p
[32m
New plate object has been created with name: CovidOISExPONTENT!
[39m
Processing plate 'CovidOISExPONTENT'
Reading Luminex data from: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/SerolyzeR/extdata/multiplate_lite/CovidOISExPONTENT2.csv
using format xPONENT
Failed to extract from BatchMetadata: BatchStartTime not found in BatchMetadata.
Failed to extract from raw header: BatchStartTime not found in raw header.
Fallback datetime successfully extracted from ProgramMetadata.
Could not parse datetime string using default datetime format. Trying other possibilies.
Successfully parsed datetime string using order: mdY IM p
[32m
New plate object has been created with name: CovidOISExPONTENT2!
[39m
Processing plate 'CovidOISExPONTENT2'
Extracting the raw MFI to the output dataframe
Extracting the raw MFI to the output dataframe
Merged output saved to: /tmp/RtmpXA3JuH/merged_MFI_20251206_132009.csv
Fitting the models and predicting RAU for each analyte
Fitting the models and predicting RAU for each analyte
Merged output saved to: /tmp/RtmpXA3JuH/merged_RAU_20251206_132009.csv
Computing nMFI values for each analyte
Computing nMFI values for each analyte
Merged output saved to: /tmp/RtmpXA3JuH/merged_nMFI_20251206_132009.csv
> note <- "This is a Levey-Jennings report.\n**Author**: Jane Doe \n**Tester**: John Doe"
> 
> generate_levey_jennings_report(
+   list_of_plates = list_of_plates,
+   report_title = "QC Report",
+   dilutions = c("1/100", "1/200"),
+   output_dir = tempdir(),
+   additional_notes = note
+ )
Generating report... For large reports with more than 30 plates, this will take a few minutes.
Error in loadNamespace(x) : there is no package called ‘rmarkdown’
Calls: generate_levey_jennings_report ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted