- using R Under development (unstable) (2025-06-27 r88363)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.7 (3+b1)
Debian flang-new version 19.1.7 (3+b1)
- running under: Debian GNU/Linux 13 (trixie)
- using session charset: UTF-8
- checking for file ‘karel/DESCRIPTION’ ... OK
- this is package ‘karel’ version ‘0.1.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] 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 ‘karel’ 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 ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/2s] OK
- checking loading without being on the library search path ... [1s/2s] 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 ... [9s/13s] OK
- checking Rd files ... [0s/1s] 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 R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [3s/4s] 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/RtmpJC0gwq/2647b52d7f9c52/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
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/11s] ERROR
Running ‘testthat.R’ [7s/10s]
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/RtmpdCg3h9/264f0090608d1/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/RtmpdCg3h9/264f004f5e3a41/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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s/16s] OK
- checking PDF version of manual ... [5s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs