- using R Under development (unstable) (2025-06-27 r88363)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-19) 14.2.0
GNU Fortran (Debian 14.2.0-19) 14.2.0
- running under: Debian GNU/Linux 13 (trixie)
- using session charset: UTF-8
- checking for file ‘HVT/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘HVT’ version ‘25.2.4’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘HVT’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [3s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/3s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [24s/31s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [18s/23s] ERROR
Running examples in ‘HVT-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: plotAnimatedFlowmap
> ### Title: Generating flow maps and animations based on transition
> ### probabilities
> ### Aliases: plotAnimatedFlowmap
> ### Keywords: Timeseries_Analysis
>
> ### ** Examples
>
> dataset <- data.frame(date = as.numeric(time(EuStockMarkets)),
+ DAX = EuStockMarkets[, "DAX"],
+ SMI = EuStockMarkets[, "SMI"],
+ CAC = EuStockMarkets[, "CAC"],
+ FTSE = EuStockMarkets[, "FTSE"])
> hvt.results<- trainHVT(dataset,n_cells = 60, depth = 1, quant.err = 0.1,
+ distance_metric = "L1_Norm", error_metric = "max",
+ normalize = TRUE,quant_method = "kmeans")
Initial stress : 0.00078
stress after 10 iters: 0.00033, magic = 0.500
stress after 20 iters: 0.00032, magic = 0.500
> scoring <- scoreHVT(dataset, hvt.results)
Scale for colour is already present.
Adding another scale for colour, which will replace the existing scale.
Scale for x is already present.
Adding another scale for x, which will replace the existing scale.
Scale for y is already present.
Adding another scale for y, which will replace the existing scale.
> cell_id <- scoring$scoredPredictedData$Cell.ID
> time_stamp <- dataset$date
> dataset <- data.frame(cell_id, time_stamp)
> table <- getTransitionProbability(dataset, cellid_column = "cell_id",time_column = "time_stamp")
> plots <- plotAnimatedFlowmap(hvt_model_output = hvt.results, transition_probability_df = table,
+ df = dataset, animation = 'All', flow_map = 'All',fps_time = 1,fps_state = 1,time_duration = 3,
+ state_duration = 3,cellid_column = "cell_id", time_column = "time_stamp")
Warning: Cannot get dimensions of plot table. Plot region might not be fixed
Caused by error in `labs()`:
! could not find function "labs"
Warning: Failed to plot frame
Caused by error in `labs()`:
! could not find function "labs"
Warning: Failed to plot frame
Caused by error in `labs()`:
! could not find function "labs"
Warning: Failed to plot frame
Caused by error in `labs()`:
! could not find function "labs"
Error in `png_dim()`:
! Provided file (/tmp/Rtmpkua8QH/28fe633ffc39c0/gganim_plot0001.png)
does not exist
Backtrace:
▆
1. └─HVT::plotAnimatedFlowmap(...)
2. ├─gganimate::animate(...)
3. └─gganimate:::animate.gganim(...)
4. └─args$renderer(frames_vars$frame_source, args$fps)
5. └─gganimate:::png_dim(frames[1])
6. └─cli::cli_abort("Provided file ({file}) does not exist")
7. └─rlang::abort(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
clustHVT 4.950 0.402 6.640
msm 4.482 0.101 5.599
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/4s] OK
Running ‘testthat.R’ [3s/4s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s/3s] OK
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR