Last updated on 2024-09-01 05:49:47 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
CGGP | 13 | ||
comparer | 6 | 7 | |
GauPro | 6 | 5 | 2 |
mixopt | 6 | 7 | |
sFFLHD | 13 | ||
splitfngr | 13 | ||
TestFunctions | 6 | 7 | |
testthatmulti | 13 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 6, OK: 7
Version: 0.2.3
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘ContourFunctions’
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-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [25s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(comparer)
>
> test_check("comparer")
Recovered 6 / 6
Recovered 6 / 12
Error in summary.connection(connection) : invalid connection
In addition: Warning message:
In .Internal(gc(verbose, reset, full)) :
closing unused connection 4 (<-localhost:11365)
Recovered 1 / 4
Completed all runs in 0.5 seconds
Starting to run 10 trials in batches of size 3
Finished running superbatches
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_hype.R:137:3'): 2 inputs ─────────────────────────────────────
`plotint <- h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plotint <- h2$plotinteractions(), NA) at test_hype.R:137:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test_hype.R:138:3'): 2 inputs ───────────────────────────────────────
Error in `eval(code, test_env)`: object 'plotint' not found
Backtrace:
▆
1. └─testthat::expect_is(plotint, "ggplot") at test_hype.R:138:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test_hype.R:177:3'): 4 inputs ─────────────────────────────────────
`h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(h2$plotinteractions(), NA) at test_hype.R:177:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/23s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(comparer)
>
> test_check("comparer")
Recovered 6 / 6
Recovered 6 / 12
Error in summary.connection(connection) : invalid connection
In addition: Warning message:
In .Internal(gc(verbose, reset, full)) :
closing unused connection 4 (<-localhost:11101)
Recovered 1 / 4
Completed all runs in 0.1 seconds
Starting to run 10 trials in batches of size 3
Finished running superbatches
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_hype.R:137:3'): 2 inputs ─────────────────────────────────────
`plotint <- h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plotint <- h2$plotinteractions(), NA) at test_hype.R:137:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test_hype.R:138:3'): 2 inputs ───────────────────────────────────────
Error in `eval(code, test_env)`: object 'plotint' not found
Backtrace:
▆
1. └─testthat::expect_is(plotint, "ggplot") at test_hype.R:138:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test_hype.R:177:3'): 4 inputs ─────────────────────────────────────
`h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(h2$plotinteractions(), NA) at test_hype.R:177:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [37s/66s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(comparer)
>
> test_check("comparer")
Recovered 6 / 6
Recovered 6 / 12
Error in summary.connection(connection) : invalid connection
In addition: Warning message:
In .Internal(gc(verbose, reset, full)) :
closing unused connection 4 (<-localhost.localdomain:11307)
Recovered 1 / 4
Completed all runs in 0.6 seconds
Starting to run 10 trials in batches of size 3
Finished running superbatches
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_hype.R:137:3'): 2 inputs ─────────────────────────────────────
`plotint <- h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plotint <- h2$plotinteractions(), NA) at test_hype.R:137:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test_hype.R:138:3'): 2 inputs ───────────────────────────────────────
Error in `eval(code, test_env)`: object 'plotint' not found
Backtrace:
▆
1. └─testthat::expect_is(plotint, "ggplot") at test_hype.R:138:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test_hype.R:177:3'): 4 inputs ─────────────────────────────────────
`h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(h2$plotinteractions(), NA) at test_hype.R:177:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [37s/53s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(comparer)
>
> test_check("comparer")
Recovered 6 / 6
Recovered 6 / 12
Error in summary.connection(connection) : invalid connection
In addition: Warning message:
In .Internal(gc(verbose, reset, full)) :
closing unused connection 4 (<-localhost.localdomain:11329)
Recovered 1 / 4
Completed all runs in 0.7 seconds
Starting to run 10 trials in batches of size 3
Finished running superbatches
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_hype.R:137:3'): 2 inputs ─────────────────────────────────────
`plotint <- h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plotint <- h2$plotinteractions(), NA) at test_hype.R:137:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test_hype.R:138:3'): 2 inputs ───────────────────────────────────────
Error in `eval(code, test_env)`: object 'plotint' not found
Backtrace:
▆
1. └─testthat::expect_is(plotint, "ggplot") at test_hype.R:138:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test_hype.R:177:3'): 4 inputs ─────────────────────────────────────
`h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(h2$plotinteractions(), NA) at test_hype.R:177:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [23s/35s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(comparer)
>
> test_check("comparer")
Recovered 6 / 6
Recovered 6 / 12
Error in summary.connection(connection) : invalid connection
In addition: Warning message:
In .Internal(gc(verbose, reset, full)) :
closing unused connection 4 (<-localhost:11470)
Recovered 1 / 4
Completed all runs in 0.3 seconds
Starting to run 10 trials in batches of size 3
Finished running superbatches
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_hype.R:137:3'): 2 inputs ─────────────────────────────────────
`plotint <- h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plotint <- h2$plotinteractions(), NA) at test_hype.R:137:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test_hype.R:138:3'): 2 inputs ───────────────────────────────────────
Error in `eval(code, test_env)`: object 'plotint' not found
Backtrace:
▆
1. └─testthat::expect_is(plotint, "ggplot") at test_hype.R:138:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test_hype.R:177:3'): 4 inputs ─────────────────────────────────────
`h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(h2$plotinteractions(), NA) at test_hype.R:177:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.2.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [24s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(comparer)
>
> test_check("comparer")
Recovered 6 / 6
Recovered 6 / 12
Error in summary.connection(connection) : invalid connection
In addition: Warning message:
In .Internal(gc(verbose, reset, full)) :
closing unused connection 4 (<-localhost:11368)
Recovered 1 / 4
Completed all runs in 0.3 seconds
Starting to run 10 trials in batches of size 3
Finished running superbatches
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_hype.R:137:3'): 2 inputs ─────────────────────────────────────
`plotint <- h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plotint <- h2$plotinteractions(), NA) at test_hype.R:137:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Error ('test_hype.R:138:3'): 2 inputs ───────────────────────────────────────
Error in `eval(code, test_env)`: object 'plotint' not found
Backtrace:
▆
1. └─testthat::expect_is(plotint, "ggplot") at test_hype.R:138:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test_hype.R:177:3'): 4 inputs ─────────────────────────────────────
`h2$plotinteractions()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(h2$plotinteractions(), NA) at test_hype.R:177:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─h2$plotinteractions()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 3 | WARN 0 | SKIP 0 | PASS 416 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Current CRAN status: ERROR: 6, NOTE: 5, OK: 2
Version: 0.2.12
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘ContourFunctions’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.2.12
Check: Rd cross-references
Result: NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
Cubic.Rd: R6Class
Exponential.Rd: R6Class
FactorKernel.Rd: R6Class
GauPro_Gauss.Rd: R6Class
GauPro_Gauss_LOO.Rd: R6Class
GauPro_base.Rd: R6Class
GauPro_kernel.Rd: R6Class
GauPro_kernel_beta.Rd: R6Class
GauPro_kernel_model.Rd: R6Class
GauPro_kernel_model_LOO.Rd: R6Class
GauPro_trend.Rd: R6Class
Gaussian.Rd: R6Class
GowerFactorKernel.Rd: R6Class
IgnoreIndsKernel.Rd: R6Class
LatentFactorKernel.Rd: R6Class
Matern32.Rd: R6Class
Matern52.Rd: R6Class
OrderedFactorKernel.Rd: R6Class
Periodic.Rd: R6Class
PowerExp.Rd: R6Class
RatQuad.Rd: R6Class
Triangle.Rd: R6Class
White.Rd: R6Class
kernel_product.Rd: R6Class
kernel_sum.Rd: R6Class
trend_0.Rd: R6Class
trend_LM.Rd: R6Class
trend_c.Rd: R6Class
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64
Version: 0.2.12
Check: tests
Result: ERROR
Running ‘testthat.R’ [154s/185s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(GauPro)
>
> test_check("GauPro")
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3079 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3079 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.12
Check: tests
Result: ERROR
Running ‘testthat.R’ [91s/105s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(GauPro)
>
> test_check("GauPro")
warning: solve(): system is singular; attempting approx solution
Error : solve(): solution not found
warning: solve(): system is singular; attempting approx solution
Error : solve(): solution not found
[ FAIL 12 | WARN 0 | SKIP 0 | PASS 3080 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_kernel_model_and_kernels.R:215:7'): Cts kernels 1D ───────────
5 Cubic gpvmatches 4 / 39 seed = 984758 is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test_kernel_model_and_kernels.R:215:7'): Cts kernels 1D ───────────
17 Cubic gpvmatches 4 / 39 seed = 984758 is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 12 | WARN 0 | SKIP 0 | PASS 3080 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.12
Check: tests
Result: ERROR
Running ‘testthat.R’ [4m/13m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(GauPro)
>
> test_check("GauPro")
Increasing nugget to get invertibility from 4.69341e-06 to 9.38682e-06
[ FAIL 10 | WARN 3 | SKIP 0 | PASS 3086 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 10 | WARN 3 | SKIP 0 | PASS 3086 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.2.12
Check: tests
Result: ERROR
Running ‘testthat.R’ [271s/404s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(GauPro)
>
> test_check("GauPro")
warning: solve(): system is singular; attempting approx solution
Error : solve(): solution not found
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3077 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3077 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.2.12
Check: tests
Result: ERROR
Running ‘testthat.R’ [143s/176s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(GauPro)
>
> test_check("GauPro")
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3079 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 10 | WARN 0 | SKIP 0 | PASS 3079 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.2.12
Check: tests
Result: ERROR
Running ‘testthat.R’ [147s/187s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(GauPro)
>
> test_check("GauPro")
Increasing nugget to get invertibility from 4.275621e-06 to 8.551242e-06
Increasing nugget to get invertibility from 4e-06 to 8e-06
[ FAIL 12 | WARN 7 | SKIP 0 | PASS 3084 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:419:7'): Cts kernels 2D ───────────
`gp$plot2D()` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(gp$plot2D(), NA) at test_kernel_model_and_kernels.R:419:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─gp$plot2D()
7. └─base::loadNamespace(x)
8. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
9. └─base (local) withOneRestart(expr, restarts[[1L]])
10. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:420:24'): Cts kernels 2D ──────────
Expected `{ ... }` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:421:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, horizontal = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:422:7'): Cts kernels 2D ───────────
Expected `gp$plot2D(se = T, n = 5, mean = F)` to run without any errors.
ℹ Actually got a <packageNotFoundError> with text:
there is no package called 'ContourFunctions'
── Failure ('test_kernel_model_and_kernels.R:426:7'): Cts kernels 2D ───────────
`plot(gp)` threw an error.
Message: there is no package called 'ContourFunctions'
Class: packageNotFoundError/error/condition
Backtrace:
▆
1. ├─testthat::expect_error(plot(gp), NA) at test_kernel_model_and_kernels.R:426:7
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─base::plot(gp)
7. ├─R6:::plot.R6(gp)
8. │ └─x$plot(...)
9. │ └─self$plot2D(...)
10. └─base::loadNamespace(x)
11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
12. └─base (local) withOneRestart(expr, restarts[[1L]])
13. └─base (local) doWithOneRestart(return(expr), restart)
── Failure ('test_kernel_model_and_kernels.R:703:7'): Factor kernels ───────────
`predict(gp, 1:3, se.fit = T)` generated warnings:
* Negative s2 predictions are being set to 1.34304220208225e-07 (2 values, min=-9.1367290947636e-07)
bad pred in OrderedFactorKernel
── Failure ('test_kernel_model_and_kernels.R:744:5'): Factor kernels ───────────
`df` not equal to dfg$fn.
1/1 mismatches
[1] 1.35e+09 - 1.35e+09 == 41.1
[ FAIL 12 | WARN 7 | SKIP 0 | PASS 3084 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.2.12
Check: installed package size
Result: NOTE
installed size is 9.1Mb
sub-directories of 1Mb or more:
R 2.1Mb
libs 6.3Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: ERROR: 6, OK: 7
Version: 0.1.2
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘ContourFunctions’
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-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.2
Check: examples
Result: ERROR
Running examples in ‘mixopt-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: mixopt
> ### Title: Mixed variable optimization using coordinate descent
> ### Aliases: mixopt mixopt_blockcd mixopt_coorddesc mixopt_multistart
>
> ### ** Examples
>
> # Simple 1D example
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.005583525 secs
> # With gradient (isn't faster)
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2},
+ gr=function(x) {-2*(4.5-x[1])})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
5 4
$runtime
Time difference of 0.004692316 secs
>
> # 1D discrete ordered
> mixopt_blockcd(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.004628658 secs
>
> # 2D: one continuous, one factor
> mixopt_blockcd(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.008077145 secs
> # Simple 1D example
> mixopt_coorddesc(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.0004181862 secs
>
> # 1D discrete ordered
> mixopt_coorddesc(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.001206636 secs
>
> # 2D: one continuous, one factor
> mixopt_coorddesc(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.001772165 secs
> # 2D
> library(ggplot2)
> library(dplyr)
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
> f6 <- function(x) {-(-x[1]*.5*sin(.5*x[1])*1 - 1e-2*x[2]^2 +
+ .2*x[1] - .3*x[2])}
> ContourFunctions::cf_func(f6, xlim=c(0,100), ylim=c(-100,100))
Error in loadNamespace(x) : there is no package called ‘ContourFunctions’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.2
Check: examples
Result: ERROR
Running examples in ‘mixopt-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: mixopt
> ### Title: Mixed variable optimization using coordinate descent
> ### Aliases: mixopt mixopt_blockcd mixopt_coorddesc mixopt_multistart
>
> ### ** Examples
>
> # Simple 1D example
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.003234863 secs
> # With gradient (isn't faster)
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2},
+ gr=function(x) {-2*(4.5-x[1])})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
5 4
$runtime
Time difference of 0.00239253 secs
>
> # 1D discrete ordered
> mixopt_blockcd(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.002366304 secs
>
> # 2D: one continuous, one factor
> mixopt_blockcd(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.004653692 secs
> # Simple 1D example
> mixopt_coorddesc(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.0002381802 secs
>
> # 1D discrete ordered
> mixopt_coorddesc(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.000638485 secs
>
> # 2D: one continuous, one factor
> mixopt_coorddesc(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.0007653236 secs
> # 2D
> library(ggplot2)
> library(dplyr)
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
> f6 <- function(x) {-(-x[1]*.5*sin(.5*x[1])*1 - 1e-2*x[2]^2 +
+ .2*x[1] - .3*x[2])}
> ContourFunctions::cf_func(f6, xlim=c(0,100), ylim=c(-100,100))
Error in loadNamespace(x) : there is no package called ‘ContourFunctions’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.2
Check: examples
Result: ERROR
Running examples in ‘mixopt-Ex.R’ failed
The error most likely occurred in:
> ### Name: mixopt
> ### Title: Mixed variable optimization using coordinate descent
> ### Aliases: mixopt mixopt_blockcd mixopt_coorddesc mixopt_multistart
>
> ### ** Examples
>
> # Simple 1D example
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.06552076 secs
> # With gradient (isn't faster)
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2},
+ gr=function(x) {-2*(4.5-x[1])})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
5 4
$runtime
Time difference of 0.06765008 secs
>
> # 1D discrete ordered
> mixopt_blockcd(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.04942989 secs
>
> # 2D: one continuous, one factor
> mixopt_blockcd(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.07024646 secs
> # Simple 1D example
> mixopt_coorddesc(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.001194 secs
>
> # 1D discrete ordered
> mixopt_coorddesc(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.002203703 secs
>
> # 2D: one continuous, one factor
> mixopt_coorddesc(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.013345 secs
> # 2D
> library(ggplot2)
> library(dplyr)
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
> f6 <- function(x) {-(-x[1]*.5*sin(.5*x[1])*1 - 1e-2*x[2]^2 +
+ .2*x[1] - .3*x[2])}
> ContourFunctions::cf_func(f6, xlim=c(0,100), ylim=c(-100,100))
Error in loadNamespace(x) : there is no package called ‘ContourFunctions’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.2
Check: examples
Result: ERROR
Running examples in ‘mixopt-Ex.R’ failed
The error most likely occurred in:
> ### Name: mixopt
> ### Title: Mixed variable optimization using coordinate descent
> ### Aliases: mixopt mixopt_blockcd mixopt_coorddesc mixopt_multistart
>
> ### ** Examples
>
> # Simple 1D example
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.01830554 secs
> # With gradient (isn't faster)
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2},
+ gr=function(x) {-2*(4.5-x[1])})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
5 4
$runtime
Time difference of 0.01273513 secs
>
> # 1D discrete ordered
> mixopt_blockcd(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.01288605 secs
>
> # 2D: one continuous, one factor
> mixopt_blockcd(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.02287507 secs
> # Simple 1D example
> mixopt_coorddesc(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.006109238 secs
>
> # 1D discrete ordered
> mixopt_coorddesc(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.001910925 secs
>
> # 2D: one continuous, one factor
> mixopt_coorddesc(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.007533312 secs
> # 2D
> library(ggplot2)
> library(dplyr)
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
> f6 <- function(x) {-(-x[1]*.5*sin(.5*x[1])*1 - 1e-2*x[2]^2 +
+ .2*x[1] - .3*x[2])}
> ContourFunctions::cf_func(f6, xlim=c(0,100), ylim=c(-100,100))
Error in loadNamespace(x) : there is no package called ‘ContourFunctions’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.2
Check: examples
Result: ERROR
Running examples in ‘mixopt-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: mixopt
> ### Title: Mixed variable optimization using coordinate descent
> ### Aliases: mixopt mixopt_blockcd mixopt_coorddesc mixopt_multistart
>
> ### ** Examples
>
> # Simple 1D example
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.005881071 secs
> # With gradient (isn't faster)
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2},
+ gr=function(x) {-2*(4.5-x[1])})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
5 4
$runtime
Time difference of 0.004802465 secs
>
> # 1D discrete ordered
> mixopt_blockcd(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.004714489 secs
>
> # 2D: one continuous, one factor
> mixopt_blockcd(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.008286715 secs
> # Simple 1D example
> mixopt_coorddesc(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.0005056858 secs
>
> # 1D discrete ordered
> mixopt_coorddesc(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.0010252 secs
>
> # 2D: one continuous, one factor
> mixopt_coorddesc(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.001750469 secs
> # 2D
> library(ggplot2)
> library(dplyr)
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
> f6 <- function(x) {-(-x[1]*.5*sin(.5*x[1])*1 - 1e-2*x[2]^2 +
+ .2*x[1] - .3*x[2])}
> ContourFunctions::cf_func(f6, xlim=c(0,100), ylim=c(-100,100))
Error in loadNamespace(x) : there is no package called ‘ContourFunctions’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.2
Check: examples
Result: ERROR
Running examples in ‘mixopt-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: mixopt
> ### Title: Mixed variable optimization using coordinate descent
> ### Aliases: mixopt mixopt_blockcd mixopt_coorddesc mixopt_multistart
>
> ### ** Examples
>
> # Simple 1D example
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.01017475 secs
> # With gradient (isn't faster)
> mixopt_blockcd(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2},
+ gr=function(x) {-2*(4.5-x[1])})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
5 4
$runtime
Time difference of 0.009095669 secs
>
> # 1D discrete ordered
> mixopt_blockcd(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.008888245 secs
>
> # 2D: one continuous, one factor
> mixopt_blockcd(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.01639581 secs
> # Simple 1D example
> mixopt_coorddesc(par=list(mopar_cts(2,8)), fn=function(x) {(4.5-x[1])^2})
$par
[1] 4.5
$val
[1] 0
$counts
function gradient
13 0
$runtime
Time difference of 0.0004503727 secs
>
> # 1D discrete ordered
> mixopt_coorddesc(par=list(mopar_ordered(100:10000)),
+ fn=function(x) {(x[1] - 500.3)^2})
$par
[1] 500
$val
[1] 0.09
$counts
function gradient
42 0
$runtime
Time difference of 0.001083136 secs
>
> # 2D: one continuous, one factor
> mixopt_coorddesc(par=list(mopar_cts(2,8), mopar_unordered(letters[1:6])),
+ fn=function(x) {ifelse(x[2] == 'b', -1, 0) +
+ (4.5-x[1])^2})
$par
mixopt_list: [1] 4.5 b
$val
[1] -1
$counts
function gradient
26 0
$runtime
Time difference of 0.001773119 secs
> # 2D
> library(ggplot2)
> library(dplyr)
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
> f6 <- function(x) {-(-x[1]*.5*sin(.5*x[1])*1 - 1e-2*x[2]^2 +
+ .2*x[1] - .3*x[2])}
> ContourFunctions::cf_func(f6, xlim=c(0,100), ylim=c(-100,100))
Error in loadNamespace(x) : there is no package called ‘ContourFunctions’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-release-linux-x86_64
Current CRAN status: NOTE: 13
Version: 0.1.2
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
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-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 0.1.2
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘R6’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Current CRAN status: NOTE: 13
Version: 0.1.2
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
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-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 6, OK: 7
Version: 0.2.1
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘ContourFunctions’
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-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.2.1
Check: examples
Result: ERROR
Running examples in ‘TestFunctions-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: add_zoom
> ### Title: add_zoom: Zoom in on region of another function. Allows you to
> ### easily change an existing function so that [0,1]^n refers to a
> ### subregion of the original function
> ### Aliases: add_zoom
>
> ### ** Examples
>
> banana(c(.5,.85))
[1] 0.9692332
> add_zoom(banana, c(0,.5), c(1,1))(c(.5,.7))
[1] 0.9692332
> add_zoom(banana, c(.2,.5), c(.8,1))(matrix(c(.5,.7),ncol=2))
[1] 0.9692332
> ContourFunctions::cf(banana)
Error in loadNamespace(x) : there is no package called ‘ContourFunctions’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.2.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘AnIntroductiontoTestFunctions.Rmd’ using rmarkdown
Quitting from lines 37-38 [unnamed-chunk-2] (AnIntroductiontoTestFunctions.Rmd)
Error: processing vignette 'AnIntroductiontoTestFunctions.Rmd' failed with diagnostics:
there is no package called 'ContourFunctions'
--- failed re-building ‘AnIntroductiontoTestFunctions.Rmd’
SUMMARY: processing the following file failed:
‘AnIntroductiontoTestFunctions.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.2.1
Check: examples
Result: ERROR
Running examples in ‘TestFunctions-Ex.R’ failed
The error most likely occurred in:
> ### Name: add_zoom
> ### Title: add_zoom: Zoom in on region of another function. Allows you to
> ### easily change an existing function so that [0,1]^n refers to a
> ### subregion of the original function
> ### Aliases: add_zoom
>
> ### ** Examples
>
> banana(c(.5,.85))
[1] 0.9692332
> add_zoom(banana, c(0,.5), c(1,1))(c(.5,.7))
[1] 0.9692332
> add_zoom(banana, c(.2,.5), c(.8,1))(matrix(c(.5,.7),ncol=2))
[1] 0.9692332
> ContourFunctions::cf(banana)
Error in loadNamespace(x) : there is no package called ‘ContourFunctions’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.2.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘AnIntroductiontoTestFunctions.Rmd’ using rmarkdown
Quitting from lines 37-38 [unnamed-chunk-2] (AnIntroductiontoTestFunctions.Rmd)
Error: processing vignette 'AnIntroductiontoTestFunctions.Rmd' failed with diagnostics:
there is no package called 'ContourFunctions'
--- failed re-building ‘AnIntroductiontoTestFunctions.Rmd’
SUMMARY: processing the following file failed:
‘AnIntroductiontoTestFunctions.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Current CRAN status: OK: 13
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.