Last updated on 2024-05-29 06:57:04 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.4.4 | 29.58 | 48.98 | 78.56 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.4.4 | 16.23 | 36.74 | 52.97 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.4.4 | 108.88 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.4.4 | 107.88 | OK | |||
r-devel-windows-x86_64 | 0.4.4 | 22.00 | 81.00 | 103.00 | OK | |
r-patched-linux-x86_64 | 0.4.4 | 22.09 | 55.33 | 77.42 | OK | |
r-release-linux-x86_64 | 0.4.4 | 26.09 | 54.93 | 81.02 | OK | |
r-release-macos-arm64 | 0.4.4 | 34.00 | OK | |||
r-release-windows-x86_64 | 0.4.4 | 23.00 | 82.00 | 105.00 | OK | |
r-oldrel-macos-arm64 | 0.4.4 | 53.00 | OK | |||
r-oldrel-macos-x86_64 | 0.4.4 | 88.00 | OK | |||
r-oldrel-windows-x86_64 | 0.4.4 | 27.00 | 96.00 | 123.00 | OK |
Version: 0.4.4
Check: examples
Result: ERROR
Running examples in ‘kdevine-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: dkde1d
> ### Title: Working with a kde1d object
> ### Aliases: dkde1d pkde1d, qkde1d, rkde1d pkde1d qkde1d
>
> ### ** Examples
>
> data(wdbc) # load data
> fit <- kde1d(wdbc[, 5]) # estimate density
> dkde1d(1000, fit) # evaluate density estimate
[1] 0.0003689227
> pkde1d(1000, fit) # evaluate corresponding cdf
[1] 0.8348244
> qkde1d(0.5, fit) # quantile function
*** caught segfault ***
address 0x1, cause 'memory not mapped'
Traceback:
1: eval_qkde1d(sort(obj$x_cc), x, obj$xmin, obj$xmax, obj$bw)
2: qkde1d(0.5, fit)
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.4.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(kdevine)
The kdevine package is no longer actively developed. Consider using
- the 'kde1d' package for marginal estimation,
- the functions vine() and vinecop() from the 'rvinecopulib'
package as replacements for kdevine() and kdevinecop().
>
> test_check("kdevine")
*** caught segfault ***
address 0x1, cause 'memory not mapped'
Traceback:
1: eval_qkde1d(sort(obj$x_cc), x, obj$xmin, obj$xmax, obj$bw)
2: qkde1d(runif(10), fit)
3: eval_bare(expr, quo_get_env(quo))
4: quasi_label(enquo(object), label, arg = "object")
5: expect_is(qkde1d(runif(10), fit), "ordered")
6: eval(code, test_env)
7: eval(code, test_env)
8: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error)
9: doTryCatch(return(expr), name, parentenv, handler)
10: tryCatchOne(expr, names, parentenv, handlers[[1L]])
11: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
12: doTryCatch(return(expr), name, parentenv, handler)
13: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
14: tryCatchList(expr, classes, parentenv, handlers)
15: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { })
16: test_code(desc, code, env = parent.frame(), default_reporter = local_interactive_reporter())
17: test_that("allows ordered input", { fit <- kde1d(dat$z1) expect_is(dkde1d(data.frame(dat$z1), fit), "numeric") expect_is(pkde1d(data.frame(dat$z1), fit), "numeric") expect_is(qkde1d(runif(10), fit), "ordered") fit <- kde1d(dat$x1) expect_is(qkde1d(runif(10), fit), "numeric") fit <- kdevine(dat[, 2:3]) expect_is(dkdevine(dat[, 2:3], fit), "numeric")})
18: eval(code, test_env)
19: eval(code, test_env)
20: withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error)
21: doTryCatch(return(expr), name, parentenv, handler)
22: tryCatchOne(expr, names, parentenv, handlers[[1L]])
23: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
24: doTryCatch(return(expr), name, parentenv, handler)
25: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
26: tryCatchList(expr, classes, parentenv, handlers)
27: tryCatch(withCallingHandlers({ eval(code, test_env) if (!handled && !is.null(test)) { skip_empty() }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) { })
28: test_code(test = NULL, code = exprs, env = env, default_reporter = StopReporter$new())
29: source_file(path, env = env(env), desc = desc, error_call = error_call)
30: FUN(X[[i]], ...)
31: lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call)
32: doTryCatch(return(expr), name, parentenv, handler)
33: tryCatchOne(expr, names, parentenv, handlers[[1L]])
34: tryCatchList(expr, classes, parentenv, handlers)
35: tryCatch(code, testthat_abort_reporter = function(cnd) { cat(conditionMessage(cnd), "\n") NULL})
36: with_reporter(reporters$multi, lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call))
37: test_files_serial(test_dir = test_dir, test_package = test_package, test_paths = test_paths, load_helpers = load_helpers, reporter = reporter, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, desc = desc, load_package = load_package, error_call = error_call)
38: test_files(test_dir = path, test_paths = test_paths, test_package = package, reporter = reporter, load_helpers = load_helpers, env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning, load_package = load_package, parallel = parallel)
39: test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed")
40: test_check("kdevine")
An irrecoverable exception occurred. R is aborting now ...
Segmentation fault
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc