Package check result: OK Changes to worse in reverse depends: Package: HVT Check: examples New result: 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 (/home/hornik/tmp/scratch/RtmpZxBkCJ/160d2966f6790/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 msm 5.772 0.019 5.803 clustHVT 4.805 0.336 5.174 Package: karel Check: examples New result: ERROR Running examples in ‘karel-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: acciones > ### Title: Acciones que Karel puede realizar > ### Aliases: acciones avanzar girar_izquierda poner_coso juntar_coso > ### girar_derecha darse_vuelta > > ### ** Examples > > generar_mundo("mundo001") > avanzar() > juntar_coso() > girar_izquierda() > poner_coso() > ejecutar_acciones() Error in `png_dim()`: ! Provided file (/home/hornik/tmp/scratch/RtmpA3CyIw/15cbcb5601cb02/gganim_plot0001.png) does not exist Backtrace: ▆ 1. └─karel::ejecutar_acciones() 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. ├─gganimate::animate(...) 5. └─gganimate:::animate.gganim(...) 6. └─args$renderer(frames_vars$frame_source, args$fps) 7. └─gganimate:::png_dim(frames[1]) 8. └─cli::cli_abort("Provided file ({file}) does not exist") 9. └─rlang::abort(...) Execution halted Package: karel Check: tests New result: ERROR Running ‘testthat.R’ [6s/6s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(karel) > > test_check("karel") [ FAIL 2 | WARN 2 | SKIP 0 | PASS 78 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-actions.R:16:3'): Karel's actions perform as expected ────────── Error in `png_dim(frames[1])`: Provided file (/home/hornik/tmp/scratch/RtmpIslLY5/15cf9354c4cff6/gganim_plot0001.png) does not exist Backtrace: ▆ 1. └─karel::ejecutar_acciones() at test-actions.R:16:3 2. ├─base::suppressWarnings(...) 3. │ └─base::withCallingHandlers(...) 4. ├─gganimate::animate(...) 5. └─gganimate:::animate.gganim(...) 6. └─args$renderer(frames_vars$frame_source, args$fps) 7. └─gganimate:::png_dim(frames[1]) 8. └─cli::cli_abort("Provided file ({file}) does not exist") 9. └─rlang::abort(...) ── Error ('test-english_wrapers.R:39:3'): Karel's actions and superpowers perform as expected in English ── Error in `png_dim(frames[1])`: Provided file (/home/hornik/tmp/scratch/RtmpIslLY5/15cf931bde2420/gganim_plot0001.png) does not exist Backtrace: ▆ 1. └─karel::run_actions() at test-english_wrapers.R:39:3 2. └─karel::ejecutar_acciones(repetir = loop) 3. ├─base::suppressWarnings(...) 4. │ └─base::withCallingHandlers(...) 5. ├─gganimate::animate(...) 6. └─gganimate:::animate.gganim(...) 7. └─args$renderer(frames_vars$frame_source, args$fps) 8. └─gganimate:::png_dim(frames[1]) 9. └─cli::cli_abort("Provided file ({file}) does not exist") 10. └─rlang::abort(...) [ FAIL 2 | WARN 2 | SKIP 0 | PASS 78 ] Error: Test failures Execution halted