CRAN Package Check Results for Package TDApplied

Last updated on 2023-01-25 04:51:50 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.3 9.38 83.60 92.98 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.3 5.38 61.85 67.23 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.3 112.53 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0.3 124.25 ERROR
r-devel-windows-x86_64 2.0.3 26.00 886.00 912.00 OK
r-patched-linux-x86_64 2.0.3 10.10 214.65 224.75 OK
r-release-linux-x86_64 2.0.3 5.19 220.96 226.15 OK
r-release-macos-arm64 2.0.3 267.00 OK
r-release-macos-x86_64 2.0.3 469.00 OK
r-release-windows-x86_64 2.0.3 43.00 702.00 745.00 OK
r-oldrel-macos-arm64 2.0.3 257.00 OK
r-oldrel-macos-x86_64 2.0.3 457.00 OK
r-oldrel-windows-ix86+x86_64 2.0.3 17.00 670.00 687.00 OK

Additional issues

noSuggests

Check Details

Version: 2.0.3
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘TDA’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.0.3
Check: examples
Result: ERROR
    Running examples in ‘TDApplied-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: bootstrap_persistence_thresholds
    > ### Title: Estimate persistence threshold(s) for topological features in a
    > ### data set using bootstrapping.
    > ### Aliases: bootstrap_persistence_thresholds
    >
    > ### ** Examples
    >
    >
    > # create a persistence diagram from a sample of the unit circle
    > df = TDA::circleUnif(n = 50)
    Error in loadNamespace(x) : there is no package called ‘TDA’
    Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [13s/106s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(TDApplied)
     >
     > test_check("TDApplied")
     [ FAIL 10 | WARN 0 | SKIP 13 | PASS 146 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (8)
     • T is TRUE (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-MDS.R:51'): diagram_mds can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-MDS.R:51:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-bootstrap.R:54'): bootstrap_persistence_thresholds can detect incorrect parameters correctly ──
     Error in `bootstrap_persistence_thresholds(data.frame(x = 1:10, y = 1:10),
     FUN = "ripsDiag", maxdim = 1, thresh = 2, calculate_representatives = c(T,
     F))`: To use the 'ripsDiag' function the package TDA must be installed.
     Backtrace:
     ▆
     1. ├─testthat::expect_error(...) at test-bootstrap.R:54:2
     2. │ └─testthat:::expect_condition_matching(...)
     3. │ └─testthat:::quasi_capture(...)
     4. │ ├─testthat (local) .capture(...)
     5. │ │ └─base::withCallingHandlers(...)
     6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. └─TDApplied::bootstrap_persistence_thresholds(...)
     ── Error ('test-convert.R:4'): diagram_to_df can accept the right kinds of input ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-convert.R:4:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-distance.R:16'): diagram_distance can accept inputs from either TDA/TDAstats homology output or diagram_to_df function, with or without cycle location ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-distance.R:16:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:4'): permutation_test detects incorrect parameters correctly ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:4:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:24'): permutation_test can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:24:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:55'): independence_test detects incorrect parameters correctly ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. ├─base::lapply(...) at test-inference.R:55:2
     2. │ └─TDApplied (local) FUN(X[[i]], ...)
     3. └─base::loadNamespace(x) at test-inference.R:55:41
     4. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     5. └─base (local) withOneRestart(expr, restarts[[1L]])
     6. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:71'): independence_test can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:71:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-kernel.R:15'): diagram_kernel can accept inputs from either TDA/TDAstats homology output or diagram_to_df function, with or without cycle location ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-kernel.R:15:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-pca.R:33'): diagram_kpca can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-pca.R:33:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
    
     [ FAIL 10 | WARN 0 | SKIP 13 | PASS 146 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 2.0.3
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘ML_and_Inference.Rmd’ using rmarkdown
    Quitting from lines 107-144 (ML_and_Inference.Rmd)
    Error: processing vignette ‘ML_and_Inference.Rmd’ failed with diagnostics:
    there is no package called 'TDA'
    --- failed re-building ‘ML_and_Inference.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘ML_and_Inference.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [9s/110s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(TDApplied)
     >
     > test_check("TDApplied")
     [ FAIL 10 | WARN 0 | SKIP 13 | PASS 146 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (8)
     • T is TRUE (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-MDS.R:51'): diagram_mds can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-MDS.R:51:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-bootstrap.R:54'): bootstrap_persistence_thresholds can detect incorrect parameters correctly ──
     Error in `bootstrap_persistence_thresholds(data.frame(x = 1:10, y = 1:10),
     FUN = "ripsDiag", maxdim = 1, thresh = 2, calculate_representatives = c(T,
     F))`: To use the 'ripsDiag' function the package TDA must be installed.
     Backtrace:
     ▆
     1. ├─testthat::expect_error(...) at test-bootstrap.R:54:2
     2. │ └─testthat:::expect_condition_matching(...)
     3. │ └─testthat:::quasi_capture(...)
     4. │ ├─testthat (local) .capture(...)
     5. │ │ └─base::withCallingHandlers(...)
     6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. └─TDApplied::bootstrap_persistence_thresholds(...)
     ── Error ('test-convert.R:4'): diagram_to_df can accept the right kinds of input ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-convert.R:4:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-distance.R:16'): diagram_distance can accept inputs from either TDA/TDAstats homology output or diagram_to_df function, with or without cycle location ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-distance.R:16:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:4'): permutation_test detects incorrect parameters correctly ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:4:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:24'): permutation_test can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:24:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:55'): independence_test detects incorrect parameters correctly ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. ├─base::lapply(...) at test-inference.R:55:2
     2. │ └─TDApplied (local) FUN(X[[i]], ...)
     3. └─base::loadNamespace(x) at test-inference.R:55:41
     4. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     5. └─base (local) withOneRestart(expr, restarts[[1L]])
     6. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:71'): independence_test can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:71:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-kernel.R:15'): diagram_kernel can accept inputs from either TDA/TDAstats homology output or diagram_to_df function, with or without cycle location ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-kernel.R:15:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-pca.R:33'): diagram_kpca can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-pca.R:33:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
    
     [ FAIL 10 | WARN 0 | SKIP 13 | PASS 146 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.0.3
Check: examples
Result: ERROR
    Running examples in ‘TDApplied-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: bootstrap_persistence_thresholds
    > ### Title: Estimate persistence threshold(s) for topological features in a
    > ### data set using bootstrapping.
    > ### Aliases: bootstrap_persistence_thresholds
    >
    > ### ** Examples
    >
    >
    > # create a persistence diagram from a sample of the unit circle
    > df = TDA::circleUnif(n = 50)
    Error in loadNamespace(x) : there is no package called ‘TDA’
    Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.0.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [16s/96s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(TDApplied)
     >
     > test_check("TDApplied")
     [ FAIL 10 | WARN 0 | SKIP 13 | PASS 146 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (8)
     • T is TRUE (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-MDS.R:51'): diagram_mds can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-MDS.R:51:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-bootstrap.R:54'): bootstrap_persistence_thresholds can detect incorrect parameters correctly ──
     Error in `bootstrap_persistence_thresholds(data.frame(x = 1:10, y = 1:10),
     FUN = "ripsDiag", maxdim = 1, thresh = 2, calculate_representatives = c(T,
     F))`: To use the 'ripsDiag' function the package TDA must be installed.
     Backtrace:
     ▆
     1. ├─testthat::expect_error(...) at test-bootstrap.R:54:2
     2. │ └─testthat:::expect_condition_matching(...)
     3. │ └─testthat:::quasi_capture(...)
     4. │ ├─testthat (local) .capture(...)
     5. │ │ └─base::withCallingHandlers(...)
     6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. └─TDApplied::bootstrap_persistence_thresholds(...)
     ── Error ('test-convert.R:4'): diagram_to_df can accept the right kinds of input ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-convert.R:4:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-distance.R:16'): diagram_distance can accept inputs from either TDA/TDAstats homology output or diagram_to_df function, with or without cycle location ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-distance.R:16:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:4'): permutation_test detects incorrect parameters correctly ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:4:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:24'): permutation_test can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:24:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:55'): independence_test detects incorrect parameters correctly ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. ├─base::lapply(...) at test-inference.R:55:2
     2. │ └─TDApplied (local) FUN(X[[i]], ...)
     3. └─base::loadNamespace(x) at test-inference.R:55:41
     4. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     5. └─base (local) withOneRestart(expr, restarts[[1L]])
     6. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:71'): independence_test can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:71:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-kernel.R:15'): diagram_kernel can accept inputs from either TDA/TDAstats homology output or diagram_to_df function, with or without cycle location ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-kernel.R:15:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-pca.R:33'): diagram_kpca can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-pca.R:33:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
    
     [ FAIL 10 | WARN 0 | SKIP 13 | PASS 146 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.0.3
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
    --- re-building ‘ML_and_Inference.Rmd’ using rmarkdown
    Quitting from lines 107-144 (ML_and_Inference.Rmd)
    Error: processing vignette 'ML_and_Inference.Rmd' failed with diagnostics:
    there is no package called 'TDA'
    --- failed re-building ‘ML_and_Inference.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘ML_and_Inference.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 2.0.3
Check: tests
Result: ERROR
     Running ‘testthat.R’ [15s/109s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(TDApplied)
     >
     > test_check("TDApplied")
     [ FAIL 10 | WARN 0 | SKIP 13 | PASS 146 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (8)
     • T is TRUE (5)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-MDS.R:51'): diagram_mds can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-MDS.R:51:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-bootstrap.R:54'): bootstrap_persistence_thresholds can detect incorrect parameters correctly ──
     Error in `bootstrap_persistence_thresholds(data.frame(x = 1:10, y = 1:10),
     FUN = "ripsDiag", maxdim = 1, thresh = 2, calculate_representatives = c(T,
     F))`: To use the 'ripsDiag' function the package TDA must be installed.
     Backtrace:
     ▆
     1. ├─testthat::expect_error(...) at test-bootstrap.R:54:2
     2. │ └─testthat:::expect_condition_matching(...)
     3. │ └─testthat:::quasi_capture(...)
     4. │ ├─testthat (local) .capture(...)
     5. │ │ └─base::withCallingHandlers(...)
     6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. └─TDApplied::bootstrap_persistence_thresholds(...)
     ── Error ('test-convert.R:4'): diagram_to_df can accept the right kinds of input ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-convert.R:4:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-distance.R:16'): diagram_distance can accept inputs from either TDA/TDAstats homology output or diagram_to_df function, with or without cycle location ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-distance.R:16:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:4'): permutation_test detects incorrect parameters correctly ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:4:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:24'): permutation_test can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:24:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:55'): independence_test detects incorrect parameters correctly ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. ├─base::lapply(...) at test-inference.R:55:2
     2. │ └─TDApplied (local) FUN(X[[i]], ...)
     3. └─base::loadNamespace(x) at test-inference.R:55:41
     4. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     5. └─base (local) withOneRestart(expr, restarts[[1L]])
     6. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-inference.R:71'): independence_test can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-inference.R:71:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-kernel.R:15'): diagram_kernel can accept inputs from either TDA/TDAstats homology output or diagram_to_df function, with or without cycle location ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-kernel.R:15:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
     ── Error ('test-pca.R:33'): diagram_kpca can accept inputs from TDA, TDAstats and diagram_to_df ──
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'TDA'
     Backtrace:
     ▆
     1. └─base::loadNamespace(x) at test-pca.R:33:2
     2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     3. └─base (local) withOneRestart(expr, restarts[[1L]])
     4. └─base (local) doWithOneRestart(return(expr), restart)
    
     [ FAIL 10 | WARN 0 | SKIP 13 | PASS 146 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc