CRAN Package Check Results for Package BoneDensityMapping

Last updated on 2025-07-29 17:49:14 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 13.82 269.63 283.45 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 10.60 255.62 266.22 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.2 471.74 OK
r-devel-linux-x86_64-fedora-gcc 0.1.2 360.85 ERROR
r-devel-windows-x86_64 0.1.2 14.00 176.00 190.00 ERROR
r-release-linux-x86_64 0.1.1 13.07 350.98 364.05 ERROR
r-release-macos-arm64 0.1.2 115.00 OK
r-release-macos-x86_64 0.1.2 164.00 OK
r-release-windows-x86_64 0.1.1 16.00 222.00 238.00 OK
r-oldrel-macos-arm64 0.1.2 134.00 OK
r-oldrel-macos-x86_64 0.1.2 242.00 OK
r-oldrel-windows-x86_64 0.1.1 22.00 275.00 297.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘BoneDensityMapping-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: reorientate_landmarks > ### Title: Reorientate landmarks > ### Aliases: reorientate_landmarks > > ### ** Examples > > landmark_path <- system.file("extdata", "test_femur.mrk.json", + package = "BoneDensityMapping") > reoriented_landmarks <- reorientate_landmarks(landmark_path) Warning in file(con, "w") : cannot open file '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/BoneDensityMapping/extdata/test_femur.mrk.json': Read-only file system Error in file(con, "w") : cannot open the connection Calls: reorientate_landmarks -> write_json -> writeLines -> file Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘BoneDensityMapping-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: reorientate_landmarks > ### Title: Reorientate landmarks > ### Aliases: reorientate_landmarks > > ### ** Examples > > landmark_path <- system.file("extdata", "test_femur.mrk.json", + package = "BoneDensityMapping") > reoriented_landmarks <- reorientate_landmarks(landmark_path) Warning in file(con, "w") : cannot open file '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BoneDensityMapping/extdata/test_femur.mrk.json': Read-only file system Error in file(con, "w") : cannot open the connection Calls: reorientate_landmarks -> write_json -> writeLines -> file Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.2
Check: tests
Result: ERROR Running ‘testthat.R’ [20s/65s] 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' 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' 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.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' 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 2 | WARN 1 | SKIP 0 | PASS 33 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-bone_scan_check.R:3:1'): (code run outside of `test_that()`) ─── Error in `download.file(url, bone_filepath, mode = "wb")`: cannot open URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_femur.stl' Backtrace: ▆ 1. └─utils::download.file(url, bone_filepath, mode = "wb") at test-bone_scan_check.R:3:1 ── Error ('test-surface_points_new.R:3:1'): (code run outside of `test_that()`) ── Error in `download.file(url, bone_filepath, mode = "wb")`: cannot open URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP001.stl' Backtrace: ▆ 1. └─utils::download.file(url, bone_filepath, mode = "wb") at test-surface_points_new.R:3:1 [ FAIL 2 | WARN 1 | SKIP 0 | PASS 33 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘example-workflow-vignette.Rmd’ using rmarkdown trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/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 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 trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP001_resampled.nii.gz' Content type 'application/octet-stream' length 15470935 bytes (14.8 MB) ================================================== downloaded 14.8 MB trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP002.stl' Content type 'application/octet-stream' length 868984 bytes (848 KB) ================================================== downloaded 848 KB trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP002_resampled.nii.gz' Content type 'application/octet-stream' length 13050596 bytes (12.4 MB) ================================================== downloaded 12.4 MB trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP003.stl' Quitting from example-workflow-vignette.Rmd:92-118 [unnamed-chunk-12] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `download.file()`: ! cannot open URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP003.stl' --- Backtrace: ▆ 1. └─utils::download.file(mesh_url, mesh_path, mode = "wb") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'example-workflow-vignette.Rmd' failed with diagnostics: cannot open URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP003.stl' --- failed re-building ‘example-workflow-vignette.Rmd’ SUMMARY: processing the following file failed: ‘example-workflow-vignette.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'example-workflow-vignette.Rmd' using rmarkdown trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/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 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 trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP001_resampled.nii.gz' Content type 'application/octet-stream' length 15470935 bytes (14.8 MB) ================================================== downloaded 14.8 MB trying URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP002.stl' Quitting from example-workflow-vignette.Rmd:92-118 [unnamed-chunk-12] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `download.file()`: ! cannot open URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP002.stl' --- Backtrace: ▆ 1. └─utils::download.file(mesh_url, mesh_path, mode = "wb") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'example-workflow-vignette.Rmd' failed with diagnostics: cannot open URL 'https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/SCAP002.stl' --- failed re-building 'example-workflow-vignette.Rmd' SUMMARY: processing the following file failed: 'example-workflow-vignette.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

Version: 0.1.1
Check: examples
Result: ERROR Running examples in ‘BoneDensityMapping-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: reorientate_landmarks > ### Title: Reorientate landmarks > ### Aliases: reorientate_landmarks > > ### ** Examples > > landmark_path <- system.file("extdata", "test_femur.mrk.json", + package = "BoneDensityMapping") > reoriented_landmarks <- reorientate_landmarks(landmark_path) Warning in file(con, "w") : cannot open file '/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/BoneDensityMapping/extdata/test_femur.mrk.json': Read-only file system Error in file(con, "w") : cannot open the connection Calls: reorientate_landmarks -> write_json -> writeLines -> file Execution halted Flavor: r-release-linux-x86_64