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