Last updated on 2026-03-10 21:53:59 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| aceEditor | 3 | 11 | |
| amVennDiagram5 | 14 | ||
| AOV1R | 2 | 12 | |
| boodist | 1 | 1 | 12 |
| braids | 14 | ||
| bratteli | 14 | ||
| Carlson | 2 | 12 | |
| cascadeSelect | 5 | 9 | |
| colorsGen | 14 | ||
| cppcheckR | 14 | ||
| cyclotomic | 14 | ||
| DateTimeRangePicker | 14 | ||
| findInFiles | 14 | ||
| findInGit | 14 | ||
| freewall | 14 | ||
| gbeta | 4 | 10 | |
| gfiUltra | 3 | 11 | |
| gmpoly | 2 | 12 | |
| graph3d | 3 | 11 | |
| html2R | 3 | 11 | |
| interpolators | 14 | ||
| intmap | 2 | 12 | |
| jacobi | 14 | ||
| JSconsole | 5 | 9 | |
| jshintr | 14 | ||
| jsonNormalize | 14 | ||
| jsTreeR | 2 | 12 | |
| kantorovich | 8 | 4 | 2 |
| matrixsampling | 5 | 9 | |
| monaco | 3 | 11 | |
| multiActionButton | 14 | ||
| NestedMenu | 14 | ||
| pasteAsComment | 2 | 12 | |
| pylintR | 2 | 12 | |
| qsplines | 14 | ||
| rAmCharts4 | 3 | 11 | |
| RcppColors | 14 | ||
| reactCheckbox | 14 | ||
| Rnvd3 | 14 | ||
| shinyChakraSlider | 3 | 11 | |
| shinyChakraUI | 3 | 11 | |
| shinyDatetimePickers | 3 | 11 | |
| shinyMergely | 2 | 12 | |
| shinyMonacoEditor | 3 | 11 | |
| shinySelect | 14 | ||
| shinyToastify | 14 | ||
| shinyXYpad | 14 | ||
| swipeR | 14 | ||
| syt | 2 | 12 | |
| thorn | 3 | 11 | |
| uniformly | 2 | 12 |
Current CRAN status: NOTE: 3, OK: 11
Version: 1.0.1
Check: installed package size
Result: NOTE
installed size is 11.7Mb
sub-directories of 1Mb or more:
htmlwidgets 11.6Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.0.1
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: NOTE: 2, OK: 12
Version: 0.1.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: ERROR: 1, NOTE: 1, OK: 12
Version: 1.0.0
Check: whether package can be installed
Result: ERROR
Installation failed.
Flavor: r-oldrel-macos-arm64
Version: 1.0.0
Check: installed package size
Result: NOTE
installed size is 13.2Mb
sub-directories of 1Mb or more:
libs 12.3Mb
Flavor: r-oldrel-macos-x86_64
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: NOTE: 2, OK: 12
Version: 3.0.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: NOTE: 5, OK: 9
Version: 1.1.0
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘shiny’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 1.1.0
Check: installed package size
Result: NOTE
installed size is 12.2Mb
sub-directories of 1Mb or more:
www 12.1Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: NOTE: 4, OK: 10
Version: 0.1.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: installed package size
Result: NOTE
installed size is 6.6Mb
sub-directories of 1Mb or more:
libs 6.5Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: NOTE: 3, OK: 11
Version: 1.0.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 2, OK: 12
Version: 1.1.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: NOTE: 3, OK: 11
Version: 0.2.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 3, OK: 11
Version: 0.1.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: NOTE: 2, OK: 12
Version: 1.0.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 14
Current CRAN status: NOTE: 5, OK: 9
Version: 0.1.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: NOTE: 2, OK: 12
Version: 2.6.0
Check: installed package size
Result: NOTE
installed size is 6.7Mb
sub-directories of 1Mb or more:
examples 2.8Mb
htmlwidgets 1.1Mb
www 2.7Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: ERROR: 8, NOTE: 4, OK: 2
Version: 3.2.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 3.2.0
Check: whether package can be installed
Result: WARN
Found the following significant warnings:
Warning: replacing previous import ‘CVXR::outer’ by ‘gmp::outer’ when loading ‘kantorovich’
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, r-devel-windows-x86_64, r-release-linux-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 3.2.0
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘kantorovich_ompr.R’
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, r-devel-macos-arm64, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
Version: 3.2.0
Check: examples
Result: ERROR
Running examples in ‘kantorovich-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: kantorovich_CVX
> ### Title: Computes Kantorovich distance with CVX
> ### Aliases: kantorovich_CVX
>
> ### ** Examples
>
> x <- c(1.5, 2, -3)
> mu <- c(1/7, 2/7, 4/7)
> y <- c(4, 3.5, 0, -2)
> nu <- c(1/4, 1/4, 1/4, 1/4)
> M <- outer(x, y, FUN = function(x, y) abs(x - y))
> kantorovich_CVX(mu, nu, dist = M)
Error in `method(solve_via_data, CVXR::ECOS_Solver)`:
! Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = M)
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
Version: 3.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(kantorovich)
Warning message:
replacing previous import 'CVXR::outer' by 'gmp::outer' when loading 'kantorovich'
> library(gmp)
Attaching package: 'gmp'
The following objects are masked from 'package:base':
%*%, apply, crossprod, matrix, tcrossprod
>
> test_check("kantorovich")
Saving _problems/test-CVX-6.R
Saving _problems/test-CVX-16.R
Saving _problems/test-CVX-37.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-CVX.R:6:3'): kantorovich_CVX default distance ──────────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 1, 1, 1, 0, 1, 1, 1, 0), A = new("dgCMatrix", i = c(0L, 3L, 6L, 0L, 4L, 7L, 0L, 5L, 8L, 1L, 3L, 9L, 1L, 4L, 10L, 1L, 5L, 11L, 2L, 3L, 12L, 2L, 4L, 13L, 2L, 5L, 14L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L), Dim = c(15L, 9L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.142857142857143, 0.285714285714286, 0.571428571428571, 0.25, 0.25, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = 1 - diag(3L)) at test-CVX.R:6:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
── Error ('test-CVX.R:16:3'): kantorovich_CVX - specified distance ─────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 0.333333333333333, 0.666666666666667, 1, 0.333333333333333, 0, 0.333333333333333, 0.666666666666667, 0.666666666666667, 0.333333333333333, 0, 0.333333333333333, 1, 0.666666666666667, 0.333333333333333, 0), A = new("dgCMatrix", i = c(0L, 4L, 8L, 0L, 5L, 9L, 0L, 6L, 10L, 0L, 7L, 11L, 1L, 4L, 12L, 1L, 5L, 13L, 1L, 6L, 14L, 1L, 7L, 15L, 2L, 4L, 16L, 2L, 5L, 17L, 2L, 6L, 18L, 2L, 7L, 19L, 3L, 4L, 20L, 3L, 5L, 21L, 3L, 6L, 22L, 3L, 7L, 23L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L, 30L, 33L, 36L, 39L, 42L, 45L, 48L), Dim = c(24L, 16L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.25, 0.75, 0, 0, 0, 0.5, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = dist) at test-CVX.R:16:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
── Error ('test-CVX.R:37:3'): kantorovich_CVX - nonsymmetric dist ──────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 1, 3, 1, 0, 4, 2, 4, 0), A = new("dgCMatrix", i = c(0L, 3L, 6L, 0L, 4L, 7L, 0L, 5L, 8L, 1L, 3L, 9L, 1L, 4L, 10L, 1L, 5L, 11L, 2L, 3L, 12L, 2L, 4L, 13L, 2L, 5L, 14L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L), Dim = c(15L, 9L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.142857142857143, 0.285714285714286, 0.571428571428571, 0.333333333333333, 0.111111111111111, 0.555555555555556, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = D) at test-CVX.R:37:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
Error:
! Test failures.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64
Version: 3.2.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘kantorovich.Rmd’ using rmarkdown
Quitting from kantorovich.Rmd:176-189 [unnamed-chunk-14]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `method(solve_via_data, CVXR::ECOS_Solver)`:
! Package ECOSolveR is required but not installed.
---
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = M)
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'kantorovich.Rmd' failed with diagnostics:
Package ECOSolveR is required but not installed.
--- failed re-building ‘kantorovich.Rmd’
SUMMARY: processing the following file failed:
‘kantorovich.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
Version: 3.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(kantorovich)
Warning message:
replacing previous import 'CVXR::outer' by 'gmp::outer' when loading 'kantorovich'
> library(gmp)
Attaching package: 'gmp'
The following objects are masked from 'package:base':
%*%, apply, crossprod, matrix, tcrossprod
>
> test_check("kantorovich")
Saving _problems/test-CVX-6.R
Saving _problems/test-CVX-16.R
Saving _problems/test-CVX-37.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-CVX.R:6:3'): kantorovich_CVX default distance ──────────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 1, 1, 1, 0, 1, 1, 1, 0), A = new("dgCMatrix", i = c(0L, 3L, 6L, 0L, 4L, 7L, 0L, 5L, 8L, 1L, 3L, 9L, 1L, 4L, 10L, 1L, 5L, 11L, 2L, 3L, 12L, 2L, 4L, 13L, 2L, 5L, 14L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L), Dim = c(15L, 9L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.142857142857143, 0.285714285714286, 0.571428571428571, 0.25, 0.25, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = 1 - diag(3L)) at test-CVX.R:6:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
── Error ('test-CVX.R:16:3'): kantorovich_CVX - specified distance ─────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 0.333333333333333, 0.666666666666667, 1, 0.333333333333333, 0, 0.333333333333333, 0.666666666666667, 0.666666666666667, 0.333333333333333, 0, 0.333333333333333, 1, 0.666666666666667, 0.333333333333333, 0), A = new("dgCMatrix", i = c(0L, 4L, 8L, 0L, 5L, 9L, 0L, 6L, 10L, 0L, 7L, 11L, 1L, 4L, 12L, 1L, 5L, 13L, 1L, 6L, 14L, 1L, 7L, 15L, 2L, 4L, 16L, 2L, 5L, 17L, 2L, 6L, 18L, 2L, 7L, 19L, 3L, 4L, 20L, 3L, 5L, 21L, 3L, 6L, 22L, 3L, 7L, 23L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L, 30L, 33L, 36L, 39L, 42L, 45L, 48L), Dim = c(24L, 16L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.25, 0.75, 0, 0, 0, 0.5, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = dist) at test-CVX.R:16:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
── Error ('test-CVX.R:37:3'): kantorovich_CVX - nonsymmetric dist ──────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 1, 3, 1, 0, 4, 2, 4, 0), A = new("dgCMatrix", i = c(0L, 3L, 6L, 0L, 4L, 7L, 0L, 5L, 8L, 1L, 3L, 9L, 1L, 4L, 10L, 1L, 5L, 11L, 2L, 3L, 12L, 2L, 4L, 13L, 2L, 5L, 14L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L), Dim = c(15L, 9L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.142857142857143, 0.285714285714286, 0.571428571428571, 0.333333333333333, 0.111111111111111, 0.555555555555556, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = D) at test-CVX.R:37:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 3.2.0
Check: examples
Result: ERROR
Running examples in ‘kantorovich-Ex.R’ failed
The error most likely occurred in:
> ### Name: kantorovich_CVX
> ### Title: Computes Kantorovich distance with CVX
> ### Aliases: kantorovich_CVX
>
> ### ** Examples
>
> x <- c(1.5, 2, -3)
> mu <- c(1/7, 2/7, 4/7)
> y <- c(4, 3.5, 0, -2)
> nu <- c(1/4, 1/4, 1/4, 1/4)
> M <- outer(x, y, FUN = function(x, y) abs(x - y))
> kantorovich_CVX(mu, nu, dist = M)
Error in `method(solve_via_data, CVXR::ECOS_Solver)`:
! Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = M)
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 3.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(kantorovich)
Warning message:
replacing previous import 'CVXR::outer' by 'gmp::outer' when loading 'kantorovich'
> library(gmp)
Attaching package: 'gmp'
The following objects are masked from 'package:base':
%*%, apply, crossprod, matrix, tcrossprod
>
> test_check("kantorovich")
Saving _problems/test-CVX-6.R
Saving _problems/test-CVX-16.R
Saving _problems/test-CVX-37.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-CVX.R:6:3'): kantorovich_CVX default distance ──────────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 1, 1, 1, 0, 1, 1, 1, 0), A = new("dgCMatrix", i = c(0L, 3L, 6L, 0L, 4L, 7L, 0L, 5L, 8L, 1L, 3L, 9L, 1L, 4L, 10L, 1L, 5L, 11L, 2L, 3L, 12L, 2L, 4L, 13L, 2L, 5L, 14L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L), Dim = c(15L, 9L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.142857142857143, 0.285714285714286, 0.571428571428571, 0.25, 0.25, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = 1 - diag(3L)) at test-CVX.R:6:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
── Error ('test-CVX.R:16:3'): kantorovich_CVX - specified distance ─────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 0.333333333333333, 0.666666666666667, 1, 0.333333333333333, 0, 0.333333333333333, 0.666666666666667, 0.666666666666667, 0.333333333333333, 0, 0.333333333333333, 1, 0.666666666666667, 0.333333333333333, 0), A = new("dgCMatrix", i = c(0L, 4L, 8L, 0L, 5L, 9L, 0L, 6L, 10L, 0L, 7L, 11L, 1L, 4L, 12L, 1L, 5L, 13L, 1L, 6L, 14L, 1L, 7L, 15L, 2L, 4L, 16L, 2L, 5L, 17L, 2L, 6L, 18L, 2L, 7L, 19L, 3L, 4L, 20L, 3L, 5L, 21L, 3L, 6L, 22L, 3L, 7L, 23L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L, 30L, 33L, 36L, 39L, 42L, 45L, 48L), Dim = c(24L, 16L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.25, 0.75, 0, 0, 0, 0.5, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = dist) at test-CVX.R:16:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
── Error ('test-CVX.R:37:3'): kantorovich_CVX - nonsymmetric dist ──────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 1, 3, 1, 0, 4, 2, 4, 0), A = new("dgCMatrix", i = c(0L, 3L, 6L, 0L, 4L, 7L, 0L, 5L, 8L, 1L, 3L, 9L, 1L, 4L, 10L, 1L, 5L, 11L, 2L, 3L, 12L, 2L, 4L, 13L, 2L, 5L, 14L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L), Dim = c(15L, 9L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.142857142857143, 0.285714285714286, 0.571428571428571, 0.333333333333333, 0.111111111111111, 0.555555555555556, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = D) at test-CVX.R:37:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 3.2.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘kantorovich.Rmd’ using rmarkdown
Quitting from kantorovich.Rmd:176-189 [unnamed-chunk-14]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `method(solve_via_data, CVXR::ECOS_Solver)`:
! Package ECOSolveR is required but not installed.
---
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = M)
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'kantorovich.Rmd' failed with diagnostics:
Package ECOSolveR is required but not installed.
--- failed re-building ‘kantorovich.Rmd’
SUMMARY: processing the following file failed:
‘kantorovich.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 3.2.0
Check: examples
Result: ERROR
Running examples in ‘kantorovich-Ex.R’ failed
The error most likely occurred in:
> ### Name: kantorovich_CVX
> ### Title: Computes Kantorovich distance with CVX
> ### Aliases: kantorovich_CVX
>
> ### ** Examples
>
> x <- c(1.5, 2, -3)
> mu <- c(1/7, 2/7, 4/7)
> y <- c(4, 3.5, 0, -2)
> nu <- c(1/4, 1/4, 1/4, 1/4)
> M <- outer(x, y, FUN = function(x, y) abs(x - y))
> kantorovich_CVX(mu, nu, dist = M)
Error in kanto$status : $ operator is invalid for atomic vectors
Calls: kantorovich_CVX
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 3.2.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(kantorovich)
Warning message:
replacing previous import 'CVXR::outer' by 'gmp::outer' when loading 'kantorovich'
> library(gmp)
Attaching package: 'gmp'
The following objects are masked from 'package:base':
%*%, apply, crossprod, matrix, tcrossprod
>
> test_check("kantorovich")
Saving _problems/test-CVX-6.R
Saving _problems/test-CVX-16.R
Saving _problems/test-CVX-37.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-CVX.R:6:3'): kantorovich_CVX default distance ──────────────────
Error in `kanto$status`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = 1 - diag(3L)) at test-CVX.R:6:3
── Error ('test-CVX.R:16:3'): kantorovich_CVX - specified distance ─────────────
Error in `kanto$status`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = dist) at test-CVX.R:16:3
── Error ('test-CVX.R:37:3'): kantorovich_CVX - nonsymmetric dist ──────────────
Error in `kanto$status`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = D) at test-CVX.R:37:3
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 3.2.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘kantorovich.Rmd’ using rmarkdown
Quitting from kantorovich.Rmd:176-189 [unnamed-chunk-14]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `kanto$status`:
! $ operator is invalid for atomic vectors
---
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = M)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'kantorovich.Rmd' failed with diagnostics:
$ operator is invalid for atomic vectors
--- failed re-building ‘kantorovich.Rmd’
SUMMARY: processing the following file failed:
‘kantorovich.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 3.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(kantorovich)
Warning message:
replacing previous import 'CVXR::outer' by 'gmp::outer' when loading 'kantorovich'
> library(gmp)
Attaching package: 'gmp'
The following objects are masked from 'package:base':
%*%, apply, crossprod, matrix, tcrossprod
>
> test_check("kantorovich")
Saving _problems/test-CVX-6.R
Saving _problems/test-CVX-16.R
Saving _problems/test-CVX-37.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-CVX.R:6:3'): kantorovich_CVX default distance ──────────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 1, 1, 1, 0, 1, 1, 1, 0), A = new("dgCMatrix", i = c(0L, 3L, 6L, 0L, 4L, 7L, 0L, 5L, 8L, 1L, 3L, 9L, 1L, 4L, 10L, 1L, 5L, 11L, 2L, 3L, 12L, 2L, 4L, 13L, 2L, 5L, 14L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L), Dim = c(15L, 9L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.142857142857143, 0.285714285714286, 0.571428571428571, 0.25, 0.25, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = 1 - diag(3L)) at test-CVX.R:6:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
── Error ('test-CVX.R:16:3'): kantorovich_CVX - specified distance ─────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 0.333333333333333, 0.666666666666667, 1, 0.333333333333333, 0, 0.333333333333333, 0.666666666666667, 0.666666666666667, 0.333333333333333, 0, 0.333333333333333, 1, 0.666666666666667, 0.333333333333333, 0), A = new("dgCMatrix", i = c(0L, 4L, 8L, 0L, 5L, 9L, 0L, 6L, 10L, 0L, 7L, 11L, 1L, 4L, 12L, 1L, 5L, 13L, 1L, 6L, 14L, 1L, 7L, 15L, 2L, 4L, 16L, 2L, 5L, 17L, 2L, 6L, 18L, 2L, 7L, 19L, 3L, 4L, 20L, 3L, 5L, 21L, 3L, 6L, 22L, 3L, 7L, 23L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L, 30L, 33L, 36L, 39L, 42L, 45L, 48L), Dim = c(24L, 16L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.25, 0.75, 0, 0, 0, 0.5, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = dist) at test-CVX.R:16:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
── Error ('test-CVX.R:37:3'): kantorovich_CVX - nonsymmetric dist ──────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 1, 3, 1, 0, 4, 2, 4, 0), A = new("dgCMatrix", i = c(0L, 3L, 6L, 0L, 4L, 7L, 0L, 5L, 8L, 1L, 3L, 9L, 1L, 4L, 10L, 1L, 5L, 11L, 2L, 3L, 12L, 2L, 4L, 13L, 2L, 5L, 14L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L), Dim = c(15L, 9L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.142857142857143, 0.285714285714286, 0.571428571428571, 0.333333333333333, 0.111111111111111, 0.555555555555556, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = D) at test-CVX.R:37:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
Error:
! Test failures.
Execution halted
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64
Version: 3.2.0
Check: tests
Result: ERROR
Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(kantorovich)
Warning message:
replacing previous import 'CVXR::outer' by 'gmp::outer' when loading 'kantorovich'
> library(gmp)
Attaching package: 'gmp'
The following objects are masked from 'package:base':
%*%, apply, crossprod, matrix, tcrossprod
>
> test_check("kantorovich")
Saving _problems/test-CVX-6.R
Saving _problems/test-CVX-16.R
Saving _problems/test-CVX-37.R
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-CVX.R:6:3'): kantorovich_CVX default distance ──────────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 1, 1, 1, 0, 1, 1, 1, 0), A = new("dgCMatrix", i = c(0L, 3L, 6L, 0L, 4L, 7L, 0L, 5L, 8L, 1L, 3L, 9L, 1L, 4L, 10L, 1L, 5L, 11L, 2L, 3L, 12L, 2L, 4L, 13L, 2L, 5L, 14L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L), Dim = c(15L, 9L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.142857142857143, 0.285714285714286, 0.571428571428571, 0.25, 0.25, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = 1 - diag(3L)) at test-CVX.R:6:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
── Error ('test-CVX.R:16:3'): kantorovich_CVX - specified distance ─────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 0.333333333333333, 0.666666666666667, 1, 0.333333333333333, 0, 0.333333333333333, 0.666666666666667, 0.666666666666667, 0.333333333333333, 0, 0.333333333333333, 1, 0.666666666666667, 0.333333333333333, 0), A = new("dgCMatrix", i = c(0L, 4L, 8L, 0L, 5L, 9L, 0L, 6L, 10L, 0L, 7L, 11L, 1L, 4L, 12L, 1L, 5L, 13L, 1L, 6L, 14L, 1L, 7L, 15L, 2L, 4L, 16L, 2L, 5L, 17L, 2L, 6L, 18L, 2L, 7L, 19L, 3L, 4L, 20L, 3L, 5L, 21L, 3L, 6L, 22L, 3L, 7L, 23L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L, 30L, 33L, 36L, 39L, 42L, 45L, 48L), Dim = c(24L, 16L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.25, 0.75, 0, 0, 0, 0.5, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = dist) at test-CVX.R:16:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
── Error ('test-CVX.R:37:3'): kantorovich_CVX - nonsymmetric dist ──────────────
Error in ``method(solve_via_data, CVXR::ECOS_Solver)`(x = <object>, data = list(c = c(0, 1, 3, 1, 0, 4, 2, 4, 0), A = new("dgCMatrix", i = c(0L, 3L, 6L, 0L, 4L, 7L, 0L, 5L, 8L, 1L, 3L, 9L, 1L, 4L, 10L, 1L, 5L, 11L, 2L, 3L, 12L, 2L, 4L, 13L, 2L, 5L, 14L), p = c(0L, 3L, 6L, 9L, 12L, 15L, 18L, 21L, 24L, 27L), Dim = c(15L, 9L), Dimnames = list(NULL, NULL), x = c(1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1, 1, 1, -1), factors = list()), b = c(0.142857142857143, 0.285714285714286, 0.571428571428571, 0.333333333333333, 0.111111111111111, 0.555555555555556, 0, 0, 0, 0, 0, 0, 0, 0, 0), dims = <object>, bool_idx = integer(0), int_idx = integer(0)), warm_start = FALSE, verbose = FALSE, solver_opts = list(), ...)`: Package ECOSolveR is required but not installed.
Backtrace:
▆
1. └─kantorovich::kantorovich_CVX(mu, nu, dist = D) at test-CVX.R:37:3
2. └─CVXR::psolve(problem, solver = solver, ...)
3. └─CVXR::solve_via_data(...)
4. ├─S7::S7_dispatch()
5. └─CVXR (local) `method(solve_via_data, CVXR::SolvingChain)`(...)
6. └─CVXR::solve_via_data(...)
7. ├─S7::S7_dispatch()
8. └─CVXR (local) `method(solve_via_data, CVXR::ECOS_Solver)`(...)
9. └─cli::cli_abort("Package {.pkg ECOSolveR} is required but not installed.")
10. └─rlang::abort(...)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 130 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64
Current CRAN status: NOTE: 5, OK: 9
Version: 2.0.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 2.0.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 3, OK: 11
Version: 0.2.2
Check: installed package size
Result: NOTE
installed size is 14.8Mb
sub-directories of 1Mb or more:
htmlwidgets 14.7Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: NOTE: 2, OK: 12
Version: 0.2.1
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: NOTE: 2, OK: 12
Version: 0.1.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 14
Current CRAN status: NOTE: 3, OK: 11
Version: 1.6.0
Check: installed package size
Result: NOTE
installed size is 11.4Mb
sub-directories of 1Mb or more:
htmlwidgets 10.0Mb
super-tiny-icons 1.0Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: NOTE: 3, OK: 11
Version: 0.1.0
Check: installed package size
Result: NOTE
installed size is 9.5Mb
sub-directories of 1Mb or more:
www 9.4Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 0.1.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 3, OK: 11
Version: 1.1.1
Check: installed package size
Result: NOTE
installed size is 20.5Mb
sub-directories of 1Mb or more:
www 19.7Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 3, OK: 11
Version: 1.2.0
Check: installed package size
Result: NOTE
installed size is 7.7Mb
sub-directories of 1Mb or more:
www 7.6Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 2, OK: 12
Version: 0.2.0
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘uchardet’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: NOTE: 3, OK: 11
Version: 1.1.0
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘uchardet’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 1.1.0
Check: installed package size
Result: NOTE
installed size is 21.1Mb
sub-directories of 1Mb or more:
shinyApp 21.0Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.1.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: OK: 14
Current CRAN status: NOTE: 2, OK: 12
Version: 0.5.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: NOTE: 3, OK: 11
Version: 0.2.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 2, OK: 12
Version: 0.5.0
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Stéphane Laurent <laurent_step@outlook.fr>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Stéphane",
family = "Laurent",
role = c("aut", "cre"),
email = "laurent_step@outlook.fr")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.