CRAN Package Check Results for Maintainer ‘Zhengjia Wang <dipterix.wang at gmail.com>’

Last updated on 2024-12-23 12:49:41 CET.

Package ERROR NOTE OK
dipsaus 13
filearray 13
ieegio 2 11
lazyarray 13
ravetools 1 4 8
readNSx 13
rpyANTs 13
rpymat 13
shidashi 13
spfda 13
threeBrain 6 7

Package dipsaus

Current CRAN status: OK: 13

Package filearray

Current CRAN status: OK: 13

Package ieegio

Current CRAN status: ERROR: 2, OK: 11

Version: 0.0.2
Check: examples
Result: ERROR Running examples in ‘ieegio-Ex.R’ failed The error most likely occurred in: > ### Name: imaging-volume > ### Title: Read and write volume data > ### Aliases: imaging-volume read_volume write_volume io_read_mgz > ### io_write_mgz io_write_mgz.ieegio_volume io_write_mgz.ieegio_mgh > ### io_write_mgz.nifti io_write_mgz.niftiImage > ### io_write_mgz.ants.core.ants_image.ANTsImage io_write_mgz.array > ### io_read_nii io_write_nii io_write_nii.ieegio_nifti > ### io_write_nii.ants.core.ants_image.ANTsImage io_write_nii.niftiImage > ### io_write_nii.nifti io_write_nii.ieegio_mgh io_write_nii.array > > ### ** Examples > > > > library(ieegio) > > nifti_file <- "brain.demosubject.nii.gz" > > # Use `ieegio_sample_data(nifti_file)` > # to download sample data > > > if( ieegio_sample_data(nifti_file, test = TRUE) ) { + + # ---- NIfTI examples --------------------------------------------- + + file <- ieegio_sample_data(nifti_file) + + # basic read + vol <- read_volume(file) + + # voxel to scanner RAS + vol$transforms$vox2ras + + # to freesurfer surface + vol$transforms$vox2ras_tkr + + # to FSL + vol$transforms$vox2fsl + + image(vol$data[,,128], asp = 1, axes = FALSE) + + # ---- using other methods -------------------------------------- + # default + vol <- read_volume(file, method = "oro", format = "nifti") + vol$header + + # lazy-load nifti + vol2 <- read_volume(file, method = "rnifti", format = "nifti") + vol2$header + + # Using ANTsPyx + vol3 <- read_volume(file, method = "ants", format = "nifti") + vol3$header + + # ---- write -------------------------------------------------------- + + # write as NIfTI + f <- tempfile(fileext = ".nii.gz") + + write_volume(vol, f, format = "nifti") + + # alternative method + write_volume(vol$header, f, format = "nifti") + + # write to mgz/mgh + f2 <- tempfile(fileext = ".mgz") + + write_volume(vol, f, format = "mgh") + + # clean up + unlink(f) + unlink(f2) + + } <simpleWarning in check_forbidden_install("Miniconda"): cannot install Miniconda during R CMD check> Warning in check_forbidden_install("Conda Environments") : cannot install Conda Environments during R CMD check Error: Unable to find conda binary. Is Anaconda installed? Execution halted Flavors: r-release-macos-arm64, r-oldrel-macos-arm64

Package lazyarray

Current CRAN status: NOTE: 13

Version: 1.1.0
Check: C++ specification
Result: NOTE Specified C++11: please drop specification unless essential Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Package ravetools

Current CRAN status: ERROR: 1, NOTE: 4, OK: 8

Version: 0.2.0
Check: package dependencies
Result: ERROR Package required but not available: ‘RNiftyReg’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: installed package size
Result: NOTE installed size is 14.9Mb sub-directories of 1Mb or more: libs 14.1Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Package readNSx

Current CRAN status: OK: 13

Additional issues

rchk

Package rpyANTs

Current CRAN status: OK: 13

Package rpymat

Current CRAN status: OK: 13

Package shidashi

Current CRAN status: OK: 13

Package spfda

Current CRAN status: OK: 13

Package threeBrain

Current CRAN status: NOTE: 6, OK: 7

Version: 1.2.0
Check: installed package size
Result: NOTE installed size is 7.3Mb sub-directories of 1Mb or more: R 2.0Mb threeBrainJS 2.9Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64