reg.finalizer() upon package loading to ensure that thecache directory is removed if it doesn’t contain any files that shouldpersist between R sessions.donttest blockspatch.R from theR folder tomisc/scripts, which is excludedfrom the package build using.Rbuildignore. The file isconditionally sourced by the private functionstart_gui_in_devmode() if available, allowing its useduring development without including it in the package.\value tags to thementioned.Rd files describing the functions’ returnvalues.read_retip_hilic_data() andram_cache. Noadditional references are used in the package documentation.read_rp_xlsx() andread_rpadj_xlsx() intodonttest to preventnoteExamples with CPU time > 2.5 times elapsed time: .... Bynow I’m pretty sure the culprit is thexlsx package, whichuses a java process for reading the file. Maybe we should switch toopenxlsx or readxl in the future.preprocess_data() to prevent noteExamples 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 thefollowing notes on the CRAN testing machines: CPU time >5s,CPU time > 2.5 times elapsedtime. In this context,CPUtimeis 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 |