Last updated on 2025-03-09 02:51:42 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.2 | 10.64 | 134.30 | 144.94 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.2 | 7.29 | 71.01 | 78.30 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.1.2 | 228.91 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.2 | 226.79 | OK | |||
r-devel-macos-arm64 | 1.1.2 | 80.00 | OK | |||
r-devel-macos-x86_64 | 1.1.2 | 163.00 | OK | |||
r-devel-windows-x86_64 | 1.1.2 | 12.00 | 152.00 | 164.00 | OK | |
r-patched-linux-x86_64 | 1.1.2 | 8.48 | 123.48 | 131.96 | OK | |
r-release-linux-x86_64 | 1.1.2 | 9.52 | 124.98 | 134.50 | OK | |
r-release-macos-arm64 | 1.1.2 | 73.00 | OK | |||
r-release-macos-x86_64 | 1.1.2 | 116.00 | OK | |||
r-release-windows-x86_64 | 1.1.2 | 12.00 | 151.00 | 163.00 | OK | |
r-oldrel-macos-arm64 | 1.1.2 | OK | ||||
r-oldrel-macos-x86_64 | 1.1.2 | 175.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.2 | 16.00 | 181.00 | 197.00 | OK |
Version: 1.1.2
Check: examples
Result: ERROR
Running examples in ‘evprof-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: cut_sessions
> ### Title: Cut outliers based on minimum and maximum limits of
> ### ConnectionHours and ConnectionStartDateTime variables
> ### Aliases: cut_sessions
>
> ### ** Examples
>
> 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
> # Localize the outlying sessions above a certain threshold
> california_ev_sessions %>%
+ sample_frac(0.05) %>%
+ plot_points(start = 3)
Warning: Removed 3 rows containing missing values or values outside the scale range
(`geom_point()`).
>
> # For example sessions that start before 5 AM or that are
> # longer than 20 hours are considered outliers
> sessions_clean <- california_ev_sessions %>%
+ sample_frac(0.05) %>%
+ cut_sessions(
+ start = 3,
+ connection_hours_max = 20,
+ connection_start_min = 5
+ )
> plot_points(sessions_clean, start = 3)
Error in if (any(hour(time_dt) < start)) { :
missing value where TRUE/FALSE needed
Calls: plot_points -> convert_time_dt_to_plot_dt
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [16s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(evprof)
>
> test_check("evprof")
Trying with MinPts = 200 and eps = 0.66
Too much nosie (3.8 %). Consider a higher eps.
Trying with MinPts = 200 and eps = 0.99
Solution found: MinPts= 200 , eps = 0.918
Trying with MinPts = 200 and eps = 3.3
Too much nosie (17.6 %). Consider a higher eps.
Trying with MinPts = 200 and eps = 4.95
Solution found: MinPts= 200 , eps = 4.77
Trying with MinPts = 200 and eps = 0.66
Too much nosie (3.8 %). Consider a higher eps.
Trying with MinPts = 200 and eps = 0.99
Solution found: MinPts= 200 , eps = 0.918
Trying with MinPts = 200 and eps = 0.66
Too much nosie (3.8 %). Consider a higher eps.
Trying with MinPts = 200 and eps = 0.99
Solution found: MinPts= 200 , eps = 0.918
The considered time-cycles are:
|Timecycle |months |wdays |
|:---------|:------|:-----|
|1 |1-12 |1-5 |
|2 |1-12 |6-7 |
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 48 ]
══ Skipped tests (4) ═══════════════════════════════════════════════════════════
• On CRAN (4): 'test-clustering.R:16:3', 'test-clustering.R:26:3',
'test-modelling.R:104:3', 'test-modelling.R:135:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-preprocessing.R:34:3'): kNN plots ──────────────────────────────
Error in `kNN(x, k, sort = TRUE, ...)`: data/distances cannot contain NAs for kNN (with kd-tree)!
Backtrace:
▆
1. ├─testthat::expect_true(...) at test-preprocessing.R:34:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─ggplot2::is.ggplot(plot_kNNdist(sessions, log = FALSE))
5. ├─evprof::plot_kNNdist(sessions, log = FALSE)
6. │ ├─ggplot2::ggplot(...)
7. │ └─tibble::tibble(...)
8. │ └─tibble:::tibble_quos(xs, .rows, .name_repair)
9. │ └─rlang::eval_tidy(xs[[j]], mask)
10. ├─base::sort(...)
11. └─dbscan::kNNdist(...)
12. └─dbscan::kNN(x, k, sort = TRUE, ...)
[ FAIL 1 | WARN 0 | SKIP 4 | PASS 48 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc