- using R version 4.5.2 (2025-10-31)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘delma/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘delma’ 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 ‘delma’ 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/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 ... [6s/7s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [4s/5s] ERROR
Running examples in ‘delma-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: check_metadata
> ### Title: Check validity of a metadata statement
> ### Aliases: check_metadata
>
> ### ** Examples
>
> source_file <- system.file("extdata",
+ "bionet_metadata.xml",
+ package = "delma")
> check_metadata(source_file)
── `check_metadata()` result: ──
── Error in `NA`
NA
── Error in `import` from http://www.w3.org/2001/XMLSchema
Failed to locate a schema at location 'http://www.w3.org/2001/xml.xsd'.
Skipping the import.
── Error in `NA`
NA
── Error in `import` from http://www.w3.org/2001/XMLSchema
Failed to locate a schema at location 'http://rs.gbif.org/schema/xml.xsd'.
Skipping the import.
── Error in `NA`
Error in `purrr::map()`:
ℹ In index: 5.
ℹ With name: 5.
Caused by error:
! Could not parse cli `{}` expression: `http://www.w3.org/X…`.
Caused by error:
! <text>:1:6: unexpected '/'
1: http:/
^
Backtrace:
▆
1. ├─delma::check_metadata(source_file)
2. │ └─delma:::print_xsd_messages(result)
3. │ └─purrr::map(split(df, seq_len(nrow(df))), ~format_messages_from_checks(.x))
4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
5. │ ├─purrr:::with_indexed_errors(...)
6. │ │ └─base::withCallingHandlers(...)
7. │ ├─purrr:::call_with_cleanup(...)
8. │ └─delma (local) .f(.x[[i]], ...)
9. │ └─delma:::format_messages_from_checks(.x)
10. │ └─cli::cli_text(m)
11. │ ├─cli:::cli__message(...)
12. │ │ └─"id" %in% names(args)
13. │ └─cli:::glue_cmd(..., .envir = .envir, .call = sys.call())
14. │ └─cli:::glue(...)
15. ├─cli (local) `<fn>`("http://www.w3.org/XML/1998/namespace")
16. │ ├─.transformer(expr, .envir) %||% character()
17. │ └─cli (local) .transformer(expr, .envir)
18. │ ├─parse(text = code, keep.source = FALSE) %??% ...
19. │ │ └─chain_error(expr, err, srcref = utils::getSrcref(sys.call()))
20. │ │ └─base::withCallingHandlers(...)
21. │ └─base::parse(text = code, keep.source = FALSE)
22. ├─base::.handleSimpleError(...)
23. │ └─h(simpleError(msg, call))
24. │ └─throw_error(err, parent = e)
25. │ └─base::signalCondition(cond)
26. └─purrr (local) `<fn>`(`<rlb__3_0>`)
27. └─cli::cli_abort(...)
28. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [11s/14s] OK
Running ‘testthat.R’ [11s/14s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s/2s] OK
- checking PDF version of manual ... [7s/10s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR