- using R version 4.5.0 beta (2025-03-27 r88065)
- 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 trixie/sid
- using session charset: UTF-8
- checking for file ‘bsplus/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘bsplus’ version ‘0.1.4’
- 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 serialization versions ... OK
- checking whether package ‘bsplus’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [5s/8s] 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 examples ... [2s/2s] ERROR
Running examples in ‘bsplus-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bs_modal
> ### Title: Modal window
> ### Aliases: bs_modal bs_modal_closebutton bs_attach_modal
>
> ### ** Examples
>
> library("htmltools") # also needs `markdown` package
> library("shiny")
>
> bs_modal(id = "modal", title = "I'm a modal", body = "Yes, I am.")
<div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="modal-title">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="modal-title">I'm a modal</h4>
</div>
<div class="modal-body">Yes, I am.</div>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
> bs_button("Click for modal") %>%
+ bs_attach_modal(id_modal = "modal")
<button class="btn btn-default" data-toggle="modal" data-target="#modal">Click for modal</button>
>
> bs_modal(
+ id = "modal_large",
+ title = "I'm a modal",
+ size = "large",
+ body = includeMarkdown(system.file("markdown", "modal.md", package = "bsplus"))
+ )
Warning in file(con, "w") :
cannot open file '/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/bsplus/markdown/modal.md': Read-only file system
Error in file(con, "w") : cannot open the connection
Calls: bs_modal ... includeMarkdown -> <Anonymous> -> <Anonymous> -> writeLines -> file
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/4s] OK
Running ‘testthat.R’ [2s/3s]
- 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: 1 ERROR