Dear Jim,
Thank you. I followed your idea to have a look at x. I came up writing the x into a file when executing the run_examples and check commands, and then comparing them.
Below I show the start of the example code.
LFQService::ionstar is an R6 object that resides in the package's data directory and contains some example data, which I assign to the variable bb. To my surprise, the variable bb differs, depending on if I run the check or the examples. This difference explains the difference in the example result. However, no idea why the data changes!?
Is it possible that clean_Ex() works differently in the run_examples and check?
I am speculating that it is an R6 class reference semantics, and clean_Ex(), when executed from the check, does not remove the LFQService::ionstar; hence LFQService::ionstar is not loaded from disc, but some version changed in one of the previous examples is used.
### ** Examples
library(tidyverse)
library(LFQService)
bb <- LFQService::ionstar$filtered()
saveRDS(bb, file="c:/Temp/__debugR/aaaaa.rds")