reg.finalizer() upon package loading to ensure that the
cache directory is removed if it doesn’t contain any files that should
persist between R sessions.donttest blockspatch.R from the
R folder to misc/scripts, which is excluded
from the package build using .Rbuildignore. The file is
conditionally sourced by the private function
start_gui_in_devmode() if available, allowing its use
during development without including it in the package.\value tags to the
mentioned .Rd files describing the functions’ return
values.read_retip_hilic_data() and ram_cache. No
additional references are used in the package documentation.read_rp_xlsx() and
read_rpadj_xlsx() into donttest to prevent
note
Examples with CPU time > 2.5 times elapsed time: .... By
now I’m pretty sure the culprit is the xlsx package, which
uses a java process for reading the file. Maybe we should switch to
openxlsx or readxl in the future.preprocess_data() to prevent note
Examples with CPU time > 2.5 times elapsed time: preprocess_data (CPU=2.772, elapsed=0.788).getCDs()Initial CRAN Submission.
Rejected because the following examples caused at least one of the
following notes on the CRAN testing machines: CPU time >
5s,CPU time > 2.5 times elapsed
time. In this context,CPU
timeis calculated as the sum of the easureduserandsystem`
times.
| function | user | system | elapsed | ratio |
|---|---|---|---|---|
| check_lm_suitability | 5.667 | 0.248 | 2.211 | 2.675 |
| predict.frm | 2.477 | 0.112 | 0.763 | 3.393 |
| getCDs | 2.745 | 0.089 | 0.961 | 2.949 |