Last updated on 2024-06-27 01:55:53 CEST.
Package | ERROR | OK |
---|---|---|
FAIRmaterials | 1 | 12 |
PVplr | 13 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.4.2
Check: examples
Result: ERROR
Running examples in ‘FAIRmaterials-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: process_ontology_files
> ### Title: Process Ontology CSV Files
> ### Aliases: process_ontology_files
>
> ### ** Examples
>
> # Process the CSV files in the XRay folder
> example_folder1 <- system.file("extdata", "XRay", package = "FAIRmaterials")
> process_ontology_files(example_folder1, add_external_onto_info = FALSE)
librdf error - XML I/O error: Read-only file system
librdf error - XML I/O error: Read-only file system
Error in write_xml.xml_document(xml2::read_xml(svg_code), svg_path) :
Error closing file
Calls: process_ontology_files ... process_files -> <Anonymous> -> write_xml.xml_document
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.4.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [22s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(FAIRmaterials)
>
> test_check("FAIRmaterials")
librdf error - XML I/O error: Read-only file system
librdf error - XML I/O error: Read-only file system
librdf error - XML I/O error: Read-only file system
librdf error - XML I/O error: Read-only file system
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-process_ontology_files.R:8:3'): The output files are correctly generated for PV data ──
Error in `write_xml.xml_document(xml2::read_xml(svg_code), svg_path)`: Error closing file
Backtrace:
▆
1. └─FAIRmaterials::process_ontology_files(pv_test_folder, add_external_onto_info = FALSE) at test-process_ontology_files.R:8:3
2. └─FAIRmaterials:::process_files(...)
3. ├─xml2::write_xml(xml2::read_xml(svg_code), svg_path)
4. └─xml2:::write_xml.xml_document(xml2::read_xml(svg_code), svg_path)
── Error ('test-process_ontology_files.R:28:3'): The output files are correctly generated for XRay data ──
Error in `write_xml.xml_document(xml2::read_xml(svg_code), svg_path)`: Error closing file
Backtrace:
▆
1. └─FAIRmaterials::process_ontology_files(xray_test_folder, add_external_onto_info = FALSE) at test-process_ontology_files.R:28:3
2. └─FAIRmaterials:::process_files(...)
3. ├─xml2::write_xml(xml2::read_xml(svg_code), svg_path)
4. └─xml2:::write_xml.xml_document(xml2::read_xml(svg_code), svg_path)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13