* using log directory ‘/data/gannet/ripley/R/packages/tests-Suggests/wwntests.Rcheck’ * using R Under development (unstable) (2022-04-29 r82283) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘wwntests/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘wwntests’ version ‘1.0.1’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: ‘fOptions’ * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘wwntests’ can be installed ... [29s/30s] OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [42s/42s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking LazyData ... NOTE 'LazyData' is specified without a 'data' directory * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘wwntests-Ex.R’ failed The error most likely occurred in: > ### Name: autocorrelation_coeff_plot > ### Title: Plot Confidence Bounds of Estimated Functional Autocorrelation > ### Coefficients > ### Aliases: autocorrelation_coeff_plot > > ### ** Examples > > b <- brown_motion(75, 40) > autocorrelation_coeff_plot(b) > autocorrelation_coeff_plot(b, M = 200, low_disc = TRUE) Error in MCint_eta_approx_i_j(f_data, lag, lag, M = M, low_disc = low_disc) : Please install the 'fOptions' package for low discrepancy sampling. Calls: autocorrelation_coeff_plot ... Q_WS_quantile -> variance_hat_Q_h -> MCint_eta_approx_i_j Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > > test_check("wwntests") Loading required package: wwntests [ FAIL 1 | WARN 0 | SKIP 0 | PASS 6 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error (test_hyp_tst.R:17:3): fport_test Producing Valid Output for All Valid Combinations of Parameters ── Error in `MCint_eta_approx_i_j(f_data, lag, lag, M = M, low_disc = low_disc)`: Please install the 'fOptions' package for low discrepancy sampling. Backtrace: ▆ 1. ├─testthat::expect_success(...) at test_hyp_tst.R:17:2 2. │ └─testthat::capture_expectation(expr) 3. │ └─base::tryCatch(...) 4. │ └─base tryCatchList(expr, classes, parentenv, handlers) 5. │ └─base tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. │ └─base doTryCatch(return(expr), name, parentenv, handler) 7. ├─testthat::expect_is(...) 8. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 9. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 10. └─wwntests::fport_test(b1, test = "single-lag", lag = 2, low_disc = TRUE) 11. └─wwntests::single_lag_test(...) 12. └─wwntests:::Q_WS_hyp_test(f_data, lag, alpha = alpha, M = M, low_disc = low_disc) 13. └─wwntests:::Q_WS_quantile(f_data, lag, alpha = alpha, M = M, low_disc = low_disc) 14. └─wwntests:::variance_hat_Q_h(f_data, lag, M = M, low_disc = low_disc) 15. └─wwntests:::MCint_eta_approx_i_j(f_data, lag, lag, M = M, low_disc = low_disc) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 6 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 2 NOTEs See ‘/data/gannet/ripley/R/packages/tests-Suggests/wwntests.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 4:02.24, 219.97 + 18.69