Closed bertcarnell closed 5 years ago
Replicated error on Ubuntu with
R -d valgrind -e 'devtools::run_examples()' > valgrind.out.txt 2>&1
and
R -d valgrind -e 'devtools::load_all("."); oa <- lhs::createBose(3, 4, TRUE); lhs::oa_to_oalhs(9, 4, oa, TRUE)'
Resolved the error in two ways:
This command passed with only errors on "Conditional jump or move depends on uninitialised value(s)"
R -d valgrind -e 'devtools::run_examples()' > valgrind.out.txt 2>&1
This one also passed with the edit that the verbose option is removed
R -d valgrind -e 'devtools::load_all("."); oa <- lhs::createBose(3, 4, TRUE); lhs::oa_to_oalhs(9, 4, oa)'
R CMD check --as-cran passed on Windows in RStudio R CMD check passed on Ubuntu with a clean source package R CMD check --as-cran --use-valgrind passed on Ubuntu with a clean source package
checked on rev b79e3ce9a1185257b3c0aa655a99b2ab7624f0b8
submitted to CRAN for rev ccee05c6f2505f97c88eedd26d9c53a0f54c70af
See https://cran.r-project.org/web/checks/check_results_lhs.html .
As the 'Additional issues' show, this corrupts memory, also seen in the checks for package mlrMBO, with