Last updated on 2023-01-25 04:51:30 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.4 | 2.60 | 35.00 | 37.60 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.2.5 | 2.69 | 29.16 | 31.85 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.2.5 | 54.01 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.5 | 64.96 | OK | |||
r-devel-windows-x86_64 | 0.2.4 | 14.00 | 63.00 | 77.00 | OK | |
r-patched-linux-x86_64 | 0.2.4 | 3.18 | 35.42 | 38.60 | OK | |
r-release-linux-x86_64 | 0.2.4 | 3.30 | 35.78 | 39.08 | OK | |
r-release-macos-arm64 | 0.2.5 | 20.00 | OK | |||
r-release-macos-x86_64 | 0.2.4 | 28.00 | OK | |||
r-release-windows-x86_64 | 0.2.4 | 10.00 | 67.00 | 77.00 | OK | |
r-oldrel-macos-arm64 | 0.2.5 | 21.00 | OK | |||
r-oldrel-macos-x86_64 | 0.2.4 | 31.00 | OK | |||
r-oldrel-windows-ix86+x86_64 | 0.2.5 | 8.00 | 59.00 | 67.00 | OK |
Version: 0.2.4
Check: Rd cross-references
Result: WARN
Missing link or links in documentation object ‘ao.Rd’:
‘[optimizeR]{set_optimizer}’
See section ‘Cross-references’ in the ‘Writing R Extensions’ manual.
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.4
Check: examples
Result: ERROR
Running examples in ‘ao-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ao
> ### Title: Alternating Optimization
> ### Aliases: ao ao-package
> ### Keywords: internal
>
> ### ** Examples
>
> ### alternating optimization separately for x_1 and x_2
> ### parameter restriction: -5 <= x_1, x_2 <= 5
> himmelblau <- function(x) (x[1]^2 + x[2] - 11)^2 + (x[1] + x[2]^2 - 7)^2
> ao(
+ f = himmelblau, p = c(0,0), partition = list(1, 2), iterations = 10,
+ optimizer = optimizer_optim(lower = -5, upper = 5, method = "L-BFGS-B")
+ )
Error in structure(list(objective), names = optimizer[["argument_names"]][["objective"]]) :
argument "objective" is missing, with no default
Calls: ao -> <Anonymous> -> do.call -> structure
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ao)
Loading required package: optimizeR
Thanks for using {optimizeR} 0.3.0.
>
> test_check("ao")
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 14 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ao.R:39'): ao works ────────────────────────────────────────────
Error in `structure(list(objective), names = optimizer[["argument_names"]][["objective"]])`: argument "objective" is missing, with no default
Backtrace:
▆
1. └─ao::ao(...) at test-ao.R:39:2
2. └─optimizeR::apply_optimizer(...)
3. ├─base::do.call(...)
4. └─base::structure(list(objective), names = optimizer[["argument_names"]][["objective"]])
── Error ('test-ao.R:53'): ao with additional parameters works ─────────────────
Error in `structure(list(objective), names = optimizer[["argument_names"]][["objective"]])`: argument "objective" is missing, with no default
Backtrace:
▆
1. └─ao::ao(...) at test-ao.R:53:2
2. └─optimizeR::apply_optimizer(...)
3. ├─base::do.call(...)
4. └─base::structure(list(objective), names = optimizer[["argument_names"]][["objective"]])
── Error ('test-ao.R:66'): NULL elements in partition do not break code ────────
Error in `structure(list(objective), names = optimizer[["argument_names"]][["objective"]])`: argument "objective" is missing, with no default
Backtrace:
▆
1. └─ao::ao(...) at test-ao.R:66:2
2. └─optimizeR::apply_optimizer(...)
3. ├─base::do.call(...)
4. └─base::structure(list(objective), names = optimizer[["argument_names"]][["objective"]])
── Error ('test-ao.R:76'): printing progress works ─────────────────────────────
Error in `structure(list(objective), names = optimizer[["argument_names"]][["objective"]])`: argument "objective" is missing, with no default
Backtrace:
▆
1. ├─testthat::expect_output(...) at test-ao.R:76:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. └─ao::ao(...)
11. └─optimizeR::apply_optimizer(...)
12. ├─base::do.call(...)
13. └─base::structure(list(objective), names = optimizer[["argument_names"]][["objective"]])
── Error ('test-ao.R:87'): plotting progress works ─────────────────────────────
Error in `structure(list(objective), names = optimizer[["argument_names"]][["objective"]])`: argument "objective" is missing, with no default
Backtrace:
▆
1. └─ao::ao(...) at test-ao.R:87:2
2. └─optimizeR::apply_optimizer(...)
3. ├─base::do.call(...)
4. └─base::structure(list(objective), names = optimizer[["argument_names"]][["objective"]])
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 14 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.2.4
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘ao.Rmd’ using rmarkdown
Quitting from lines 58-62 (ao.Rmd)
Error: processing vignette ‘ao.Rmd’ failed with diagnostics:
argument "objective" is missing, with no default
--- failed re-building ‘ao.Rmd’
SUMMARY: processing the following file failed:
‘ao.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang