You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Standard build of ANTsR with R CMD build fails due to errors in building vignettes
To Reproduce
Installing without vignettes and compilation of Rmd files produces the following:
running antsrTransform.Rmd:
in applyAntsrTransformToVector line 4
if (class(vectors) == "numeric")
class(vectors) (is c("matrix","array") ) has has length 2 (under R 4.x.x)
running ANTsR.Rmd causes an ITK error in line 275
jac<-createJacobianDeterminantImage(fi,mytx$fwdtransforms[[1]],1)
ITK ExceptionObject caught!
Fehler in createJacobianDeterminantImage(fi, mytx$fwdtransforms[[1]], 1) :
/home/polzehl/R/x86_64-pc-linux-gnu-library/4.2/ITKR/libs/include/ITK-5.3/itkImageFileReader.hxx:132:
Could not create IO object for reading file /tmp/Rtmp78rrnH/file87c877dddf371Warp.nii.gz
Tried to create one of the following:
MGHImageIO
You probably failed to set a file suffix, or
set the suffix to an unsupported type.
Desktop (please complete the following information):
OS: Ubuntu 22.04 LTS
R 4.2.0
The text was updated successfully, but these errors were encountered:
very strange error - cannot reproduce on osx or ubuntu 18.04 - do not have ubuntu 22.04LTS
this suggests an issue with ITK I/O library loading.
may be resolved by a clean reinstall from scratch as this "should" not happen, generally speaking. ie I/O libraries should all be there (well tested stuff, generally speaking)
Describe the bug
Standard build of ANTsR with R CMD build fails due to errors in building vignettes
To Reproduce
Installing without vignettes and compilation of Rmd files produces the following:
running antsrTransform.Rmd:
in applyAntsrTransformToVector line 4
if (class(vectors) == "numeric")
class(vectors) (is c("matrix","array") ) has has length 2 (under R 4.x.x)
running ANTsR.Rmd causes an ITK error in line 275
jac<-createJacobianDeterminantImage(fi,mytx$fwdtransforms[[1]],1)
ITK ExceptionObject caught!
Fehler in createJacobianDeterminantImage(fi, mytx$fwdtransforms[[1]], 1) :
/home/polzehl/R/x86_64-pc-linux-gnu-library/4.2/ITKR/libs/include/ITK-5.3/itkImageFileReader.hxx:132:
Could not create IO object for reading file /tmp/Rtmp78rrnH/file87c877dddf371Warp.nii.gz
Tried to create one of the following:
MGHImageIO
You probably failed to set a file suffix, or
set the suffix to an unsupported type.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: