SimpleElastix icon indicating copy to clipboard operation
SimpleElastix copied to clipboard

Generated R package is not valid.

Open srvanderplas opened this issue 2 years ago • 0 comments

I compiled the project as instructed and the generated R package does not install using either

setwd("SimpleElastix/Wrapping/R/Packaging/SimpleITK")
devtools::install(".")
> setwd("SimpleElastix/Wrapping/R/Packaging/SimpleITK/")
> devtools::install()
Error: Could not find package root. Is your working directory inside a package?

or by compressing the package and then using install.packages() with a link to the tar.gz file.

> install.packages("~/Projects/CSAFE/2022-simpleElastix-test/SimpleElastix/Wrapping/R/Packaging/SimpleITK.tar.gz", repos = NULL, type = "source")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
ERROR: cannot extract package from ‘/home/susan/Projects/CSAFE/2022-simpleElastix-test/SimpleElastix/Wrapping/R/Packaging/SimpleITK.tar.gz’
Warning in install.packages :
  installation of package ‘SimpleElastix/Wrapping/R/Packaging/SimpleITK.tar.gz’ had non-zero exit status

srvanderplas avatar Apr 04 '22 16:04 srvanderplas