-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors in buliding ANTsR vigniettes #366
Comments
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) that's a quick-look/guess |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: