- using R Under development (unstable) (2025-06-19 r88330)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘karel/DESCRIPTION’ ... OK
- this is package ‘karel’ version ‘0.1.1’
- package encoding: UTF-8
- 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 ... [9s/15s] OK
See the install log for details.
- checking package directory ... 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: ‘gifski’
All declared Imports should be used.
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [11s/17s] OK
- checking Rd files ... 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 ... ERROR
Running examples in ‘karel-Ex.R’ failed
The error most likely occurred in:
> ### 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
(/tmp/Rtmpotfe77/working_dir/RtmpW6xNgF/2199376c017303/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 ... [9s/15s] ERROR
Running ‘testthat.R’ [9s/14s]
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
(/tmp/Rtmpotfe77/working_dir/RtmpVANfeK/219aa774e07e83/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
(/tmp/Rtmpotfe77/working_dir/RtmpVANfeK/219aa713b633d9/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 ... [33s/51s] OK
- checking PDF version of manual ... [7s/10s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs, 1 NOTE