R Under development (unstable) (2024-09-07 r87105 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > #### doRUnit.R --- Run RUnit tests > ####------------------------------------------------------------------------ > > ### Origianlly follows Gregor Gojanc's example in CRAN package 'gdata' > ### and the corresponding section in the R Wiki: > ### http://wiki.r-project.org/rwiki/doku.php?id=developers:runit > > ### MM: Vastly changed: This should also be "runnable" for *installed* > ## package which has no ./tests/ > ## ----> put the bulk of the code e.g. in ../inst/unitTests/runTests.R : > > if(require("RUnit", quietly = TRUE)) { + + ## --- Setup --- + + wd <- getwd() + pkg <- sub("\\.Rcheck$", '', basename(dirname(wd))) + + library(package = pkg, character.only = TRUE) + + path <- system.file("unitTests", package = pkg) + + stopifnot(file.exists(path), file.info(path.expand(path))$isdir) + + source(file.path(path, "runTests.R"), echo = TRUE) + } Loading required package: timeDate Loading required package: timeSeries Attaching package: 'timeSeries' The following objects are masked from 'package:graphics': lines, points Loading required package: fBasics > pkg <- "fNonlinear" > if (require("RUnit", quietly = TRUE)) { + library(package = pkg, character.only = TRUE) + if (!(exists("path") && file.exists(path))) + .... [TRUNCATED] Executing test function test.falsennPlotGallery ... done successfully. Executing test function test.mutualPlotGallery ... done successfully. Executing test function test.henonSim ... done successfully. Executing test function test.henonSlider ... done successfully. Executing test function test.ikedaSim ... done successfully. Executing test function test.logisticSim ... done successfully. Executing test function test.lorentzSim ... done successfully. Executing test function test.roesslerSim ... done successfully. Executing test function test.tentSim ... done successfully. Executing test function test.falsennPlot ... done successfully. Executing test function test.lyapunovPlot ... done successfully. Executing test function test.mutualPlot ... done successfully. Executing test function test.recurrencePlot ... done successfully. Executing test function test.separationPlot ... done successfully. Executing test function test.bdsTest ... Title: BDS Test Test Results: PARAMETER: Max Embedding Dimension: 3 eps[1]: 0.467 eps[2]: 0.934 eps[3]: 1.402 eps[4]: 1.869 STATISTIC: eps[1] m=2: -0.2467 eps[1] m=3: -0.0595 eps[2] m=2: -1.1894 eps[2] m=3: 0.0092 eps[3] m=2: -0.9883 eps[3] m=3: -0.9472 eps[4] m=2: -0.5517 eps[4] m=3: -0.5665 P VALUE: eps[1] m=2: 0.8051 eps[1] m=3: 0.9526 eps[2] m=2: 0.2343 eps[2] m=3: 0.9926 eps[3] m=2: 0.323 eps[3] m=3: 0.3435 eps[4] m=2: 0.5811 eps[4] m=3: 0.571 Description: Sun Sep 8 19:22:04 2024 by user: CRAN Title: BDS Test Test Results: PARAMETER: Max Embedding Dimension: 3 eps[1]: 0.348 eps[2]: 0.697 eps[3]: 1.045 eps[4]: 1.394 STATISTIC: eps[1] m=2: 5.1954 eps[1] m=3: 8.4293 eps[2] m=2: 4.7167 eps[2] m=3: 6.938 eps[3] m=2: 5.0536 eps[3] m=3: 6.642 eps[4] m=2: 3.9686 eps[4] m=3: 4.9161 P VALUE: eps[1] m=2: 2.042e-07 eps[1] m=3: < 2.2e-16 eps[2] m=2: 2.397e-06 eps[2] m=3: 3.976e-12 eps[3] m=2: 4.335e-07 eps[3] m=3: 3.094e-11 eps[4] m=2: 7.229e-05 eps[4] m=3: 8.831e-07 Description: Sun Sep 8 19:22:04 2024 by user: CRAN Title: BDS Test Test Results: PARAMETER: Max Embedding Dimension: 3 eps[1]: 0.758 eps[2]: 1.516 eps[3]: 2.274 eps[4]: 3.032 STATISTIC: eps[1] m=2: 247.108 eps[1] m=3: 360.8997 eps[2] m=2: 833.234 eps[2] m=3: 1072.0058 eps[3] m=2: 119.1496 eps[3] m=3: 136.8389 eps[4] m=2: 51.8848 eps[4] m=3: 55.0645 P VALUE: eps[1] m=2: < 2.2e-16 eps[1] m=3: < 2.2e-16 eps[2] m=2: < 2.2e-16 eps[2] m=3: < 2.2e-16 eps[3] m=2: < 2.2e-16 eps[3] m=3: < 2.2e-16 eps[4] m=2: < 2.2e-16 eps[4] m=3: < 2.2e-16 Description: Sun Sep 8 19:22:04 2024 by user: CRAN done successfully. Executing test function test.tnnTest ... Title: Teraesvirta Neural Network Test Test Results: PARAMETER: lag: 1 m|df: 2 t-lag-m|df: 997 STATISTIC: Chi-squared: 0.6754 F: 0.3368 P VALUE: Chi-squared: 0.7134 F: 0.7141 Description: Sun Sep 8 19:22:04 2024 by user: CRAN Title: Teraesvirta Neural Network Test Test Results: PARAMETER: lag: 1 m|df: 2 t-lag-m|df: 997 STATISTIC: Chi-squared: 154.2136 F: 83.1199 P VALUE: Chi-squared: < 2.2e-16 F: < 2.2e-16 Description: Sun Sep 8 19:22:04 2024 by user: CRAN done successfully. Executing test function test.tsSuite ... done successfully. Executing test function test.wnnTest ... Title: White Neural Network Test Test Results: PARAMETER: lag: 1 q: 10 range: 4 qstar|df: 2 t-lag-qstar|df: 997 STATISTIC: Chi-squared: 0.6097 F: 0.304 P VALUE: Chi-squared: 0.7373 F: 0.7379 Description: Sun Sep 8 19:22:04 2024 by user: CRAN Title: White Neural Network Test Test Results: PARAMETER: lag: 1 q: 10 range: 4 qstar|df: 2 t-lag-qstar|df: 997 STATISTIC: Chi-squared: 169.3078 F: 91.9656 P VALUE: Chi-squared: < 2.2e-16 F: < 2.2e-16 Description: Sun Sep 8 19:22:04 2024 by user: CRAN done successfully. RUNIT TEST PROTOCOL -- Sun Sep 8 19:22:04 2024 *********************************************** Number of test functions: 18 Number of errors: 0 Number of failures: 0 1 Test Suite : fNonlinear unit testing - 18 test functions, 0 errors, 0 failures There were 34 warnings (use warnings() to see them) > > > ################################################################################ > > > proc.time() user system elapsed 10.32 2.46 12.78