- using R Under development (unstable) (2025-08-08 r88539)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 20.1.8
flang version 20.1.8
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘BoneDensityMapping/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘BoneDensityMapping’ version ‘0.1.2’
- 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 ‘BoneDensityMapping’ can be installed ... [24s/29s] OK
See the install log for details.
- checking installed package size ... OK
- 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 ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [33s/43s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [7s/11s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [20s/88s] ERROR
Running ‘testthat.R’ [19s/87s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(BoneDensityMapping)
>
> test_check("BoneDensityMapping")
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_femur.stl'
Content type 'application/octet-stream' length 2002384 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
Removed 100113 duplicate 0 unreferenced vertices and 0 duplicate faces
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.1/test_CT_hip.nii.gz'
Content type 'application/octet-stream' length 13813973 bytes (13.2 MB)
==================================================
downloaded 13.2 MB
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_femur.stl'
Content type 'application/octet-stream' length 2002384 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
Removed 100113 duplicate 0 unreferenced vertices and 0 duplicate faces
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.1/test_CT_hip.nii.gz'
Content type 'application/octet-stream' length 13813973 bytes (13.2 MB)
==================================================
downloaded 13.2 MB
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_femur.stl'
Content type 'application/octet-stream' length 2002384 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
Removed 100113 duplicate 0 unreferenced vertices and 0 duplicate faces
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.1/test_CT_hip.nii.gz'
Content type 'application/octet-stream' length 13813973 bytes (13.2 MB)
==================================================
downloaded 13.2 MB
Error in vcgImport(surface_mesh_filepath) : object 'type' not found
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_femur.stl'
Content type 'application/octet-stream' length 2002384 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
Removed 100113 duplicate 0 unreferenced vertices and 0 duplicate faces
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.1/test_CT_hip.nii.gz'
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_femur.stl'
Content type 'application/octet-stream' length 2002384 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
Removed 100113 duplicate 0 unreferenced vertices and 0 duplicate faces
OMP: Warning #96: Cannot form a team with 8 threads, using 2 instead.
OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_femur.stl'
Content type 'application/octet-stream' length 2002384 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
Removed 100113 duplicate 0 unreferenced vertices and 0 duplicate faces
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.1/test_CT_hip.nii.gz'
Content type 'application/octet-stream' length 13813973 bytes (13.2 MB)
==================================================
downloaded 13.2 MB
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP001.stl'
Content type 'application/octet-stream' length 1000084 bytes (976 KB)
==================================================
downloaded 976 KB
Removed 49998 duplicate 0 unreferenced vertices and 0 duplicate faces
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP001.stl'
Content type 'application/octet-stream' length 1000084 bytes (976 KB)
==================================================
downloaded 976 KB
Removed 49998 duplicate 0 unreferenced vertices and 0 duplicate faces
|
| | 0%
|
| | 1%
|
|= | 1%
|
|= | 2%
|
|== | 2%
|
|== | 3%
|
|=== | 4%
|
|=== | 5%
|
|==== | 5%
|
|==== | 6%
|
|===== | 7%
|
|===== | 8%
|
|====== | 8%
|
|====== | 9%
|
|======= | 9%
|
|======= | 10%
|
|======= | 11%
|
|======== | 11%
|
|======== | 12%
|
|========= | 12%
|
|========= | 13%
|
|========== | 14%
|
|========== | 15%
|
|=========== | 15%
|
|=========== | 16%
|
|============ | 17%
|
|============ | 18%
|
|============= | 18%
|
|============= | 19%
|
|============== | 19%
|
|============== | 20%
|
|============== | 21%
|
|=============== | 21%
|
|=============== | 22%
|
|================ | 22%
|
|================ | 23%
|
|================= | 24%
|
|================= | 25%
|
|================== | 25%
|
|================== | 26%
|
|=================== | 27%
|
|=================== | 28%
|
|==================== | 28%
|
|==================== | 29%
|
|===================== | 29%
|
|===================== | 30%
|
|===================== | 31%
|
|====================== | 31%
|
|====================== | 32%
|
|======================= | 32%
|
|======================= | 33%
|
|======================== | 34%
|
|======================== | 35%
|
|========================= | 35%
|
|========================= | 36%
|
|========================== | 37%
|
|========================== | 38%
|
|=========================== | 38%
|
|=========================== | 39%
|
|============================ | 39%
|
|============================ | 40%
|
|============================ | 41%
|
|============================= | 41%
|
|============================= | 42%
|
|============================== | 42%
|
|============================== | 43%
|
|=============================== | 44%
|
|=============================== | 45%
|
|================================ | 45%
|
|================================ | 46%
|
|================================= | 47%
|
|================================= | 48%
|
|================================== | 48%
|
|================================== | 49%
|
|=================================== | 49%
|
|=================================== | 50%
|
|=================================== | 51%
|
|==================================== | 51%
|
|==================================== | 52%
|
|===================================== | 52%
|
|===================================== | 53%
|
|====================================== | 54%
|
|====================================== | 55%
|
|======================================= | 55%
|
|======================================= | 56%
|
|======================================== | 57%
|
|======================================== | 58%
|
|========================================= | 58%
|
|========================================= | 59%
|
|========================================== | 59%
|
|========================================== | 60%
|
|========================================== | 61%
|
|=========================================== | 61%
|
|=========================================== | 62%
|
|============================================ | 62%
|
|============================================ | 63%
|
|============================================= | 64%
|
|============================================= | 65%
|
|============================================== | 65%
|
|============================================== | 66%
|
|=============================================== | 67%
|
|=============================================== | 68%
|
|================================================ | 68%
|
|================================================ | 69%
|
|================================================= | 69%
|
|================================================= | 70%
|
|================================================= | 71%
|
|================================================== | 71%
|
|================================================== | 72%
|
|=================================================== | 72%
|
|=================================================== | 73%
|
|==================================================== | 74%
|
|==================================================== | 75%
|
|===================================================== | 75%
|
|===================================================== | 76%
|
|====================================================== | 77%
|
|====================================================== | 78%
|
|======================================================= | 78%
|
|======================================================= | 79%
|
|======================================================== | 79%
|
|======================================================== | 80%
|
|======================================================== | 81%
|
|========================================================= | 81%
|
|========================================================= | 82%
|
|========================================================== | 82%
|
|========================================================== | 83%
|
|=========================================================== | 84%
|
|=========================================================== | 85%
|
|============================================================ | 85%
|
|============================================================ | 86%
|
|============================================================= | 87%
|
|============================================================= | 88%
|
|============================================================== | 88%
|
|============================================================== | 89%
|
|=============================================================== | 89%
|
|=============================================================== | 90%
|
|=============================================================== | 91%
|
|================================================================ | 91%
|
|================================================================ | 92%
|
|================================================================= | 92%
|
|================================================================= | 93%
|
|================================================================== | 94%
|
|================================================================== | 95%
|
|=================================================================== | 95%
|
|=================================================================== | 96%
|
|==================================================================== | 97%
|
|==================================================================== | 98%
|
|===================================================================== | 98%
|
|===================================================================== | 99%
|
|======================================================================| 99%
|
|======================================================================| 100%
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_femur.stl'
Content type 'application/octet-stream' length 2002384 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
Removed 100113 duplicate 0 unreferenced vertices and 0 duplicate faces
trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.1/test_CT_hip.nii.gz'
Content type 'application/octet-stream' length 13813973 bytes (13.2 MB)
==================================================
downloaded 13.2 MB
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 48 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-import_scan.R:8:1'): (code run outside of `test_that()`) ───────
Error in `download.file(url2, scan_filepath, mode = "wb")`: cannot open URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.1/test_CT_hip.nii.gz'
Backtrace:
▆
1. └─utils::download.file(url2, scan_filepath, mode = "wb") at test-import_scan.R:8:1
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 48 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [191s/166s] 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: 1 ERROR