Skip to content

Instantly share code, notes, and snippets.

@fxi
Last active August 29, 2015 14:11
Show Gist options
  • Save fxi/26a3e82cd59bde4a61f6 to your computer and use it in GitHub Desktop.
Save fxi/26a3e82cd59bde4a61f6 to your computer and use it in GitHub Desktop.
R.utils failed install log
------------------------------------------------- R.oo without specifing encoding in .Rprofile/ /etc/R/.Rprofile.site
> install.packages('R.oo')
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/R.oo_1.18.0.tar.gz'
Content type 'application/x-gzip' length 394545 bytes (385 Kb)
opened URL
==================================================
downloaded 385 Kb
* installing *source* package ‘R.oo’ ...
** package ‘R.oo’ successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (R.oo)
The downloaded source packages are in
‘/tmp/RtmpxJqAfM/downloaded_packages’
------------------------------------------------- R.oo nonASCII in NEWS
> install.packages("http://braju.com/R/xfer/20141210/R.oo/nonASCII-in-NEWS/R.oo_1.18.0.tar.gz")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
inferring 'repos = NULL' from 'pkgs'
trying URL 'http://braju.com/R/xfer/20141210/R.oo/nonASCII-in-NEWS/R.oo_1.18.0.tar.gz'
Content type 'application/x-gzip' length 381588 bytes (372 Kb)
opened URL
==================================================
downloaded 372 Kb
* installing *source* package ‘R.oo’ ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (R.oo)
------------------------------------------------- R.oo nonASCII in R
> install.packages("http://braju.com/R/xfer/20141210/R.oo/nonASCII-in-R/R.oo_1.18.0.tar.gz")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
inferring 'repos = NULL' from 'pkgs'
trying URL 'http://braju.com/R/xfer/20141210/R.oo/nonASCII-in-R/R.oo_1.18.0.tar.gz'
Content type 'application/x-gzip' length 381584 bytes (372 Kb)
opened URL
==================================================
downloaded 372 Kb
* installing *source* package ‘R.oo’ ...
** R
Warning in parse(outFile) :
invalid input found on input connection '/usr/local/lib/R/site-library/R.oo/R/R.oo'
** inst
** preparing package for lazy loading
Warning in parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE) :
invalid input found on input connection '/usr/local/lib/R/site-library/R.oo/R/R.oo'
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Warning: S3 methods ‘$.BasicObject’, ‘$<-.BasicObject’, ‘[[.BasicObject’, ‘[[<-.BasicObject’, ‘as.character.BasicObject’, ‘attach.BasicObject’, ‘detach.BasicObject’, ‘equals.BasicObject’, ‘extend.BasicObject’, ‘getFields.BasicObject’, ‘getInstantiationTime.BasicObject’, ‘hasField.BasicObject’, ‘hashCode.BasicObject’, ‘isReferable.BasicObject’, ‘newInstance.BasicObject’, ‘objectSize.BasicObject’, ‘print.BasicObject’, ‘uses.character’, ‘$.Class’, ‘$<-.Class’, ‘[[.Class’, ‘[[<-.Class’, ‘argsToString.Class’, ‘as.character.Class’, ‘forName.Class’, ‘getDetails.Class’, ‘getFields.Class’, ‘getKnownSubclasses.Class’, ‘getMethods.Class’, ‘getName.Class’, ‘getPackage.Class’, ‘getRdDeclaration.Class’, ‘getRdHierarchy.Class’, ‘getRdMethods.Class’, ‘getStaticInstance.Class’, ‘getSuperclasses.Class’, ‘isAbstract.Class’, ‘isBeingCreated.Class’, ‘isDeprecated. [... truncated]
* DONE (R.oo)
------------------------------------------------- R.oo LF
> install.packages("http://braju.com/R/xfer/20141210/R.oo/LF/R.oo_1.18.0.tar.gz")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
inferring 'repos = NULL' from 'pkgs'
trying URL 'http://braju.com/R/xfer/20141210/R.oo/LF/R.oo_1.18.0.tar.gz'
Content type 'application/x-gzip' length 380557 bytes (371 Kb)
opened URL
==================================================
downloaded 371 Kb
* installing *source* package ‘R.oo’ ...
** R
Warning in parse(outFile) :
invalid input found on input connection '/usr/local/lib/R/site-library/R.oo/R/R.oo'
** inst
** preparing package for lazy loading
Warning in parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE) :
invalid input found on input connection '/usr/local/lib/R/site-library/R.oo/R/R.oo'
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Warning: S3 methods ‘$.BasicObject’, ‘$<-.BasicObject’, ‘[[.BasicObject’, ‘[[<-.BasicObject’, ‘as.character.BasicObject’, ‘attach.BasicObject’, ‘detach.BasicObject’, ‘equals.BasicObject’, ‘extend.BasicObject’, ‘getFields.BasicObject’, ‘getInstantiationTime.BasicObject’, ‘hasField.BasicObject’, ‘hashCode.BasicObject’, ‘isReferable.BasicObject’, ‘newInstance.BasicObject’, ‘objectSize.BasicObject’, ‘print.BasicObject’, ‘uses.character’, ‘$.Class’, ‘$<-.Class’, ‘[[.Class’, ‘[[<-.Class’, ‘argsToString.Class’, ‘as.character.Class’, ‘forName.Class’, ‘getDetails.Class’, ‘getFields.Class’, ‘getKnownSubclasses.Class’, ‘getMethods.Class’, ‘getName.Class’, ‘getPackage.Class’, ‘getRdDeclaration.Class’, ‘getRdHierarchy.Class’, ‘getRdMethods.Class’, ‘getStaticInstance.Class’, ‘getSuperclasses.Class’, ‘isAbstract.Class’, ‘isBeingCreated.Class’, ‘isDeprecated. [... truncated]
* DONE (R.oo)
------------------------------------------------- R.oo ASCII
> install.packages("http://braju.com/R/xfer/20141210/R.oo/CRLF-onlyASCII/R.oo_1.18.0.tar.gz")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
inferring 'repos = NULL' from 'pkgs'
trying URL 'http://braju.com/R/xfer/20141210/R.oo/CRLF-onlyASCII/R.oo_1.18.0.tar.gz'
Content type 'application/x-gzip' length 381561 bytes (372 Kb)
opened URL
==================================================
downloaded 372 Kb
* installing *source* package ‘R.oo’ ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (R.oo)
------------------------------------------------------ manual install of R.oo
R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> url <- 'http://cran.rstudio.com/src/contrib/R.oo_1.18.0.tar.gz'
> file <- basename(url)
> download.file(url, basename(url), mode='wb')
trying URL 'http://cran.rstudio.com/src/contrib/R.oo_1.18.0.tar.gz'
Content type 'application/x-gzip' length 394545 bytes (385 Kb)
opened URL
==================================================
downloaded 385 Kb
> file.info(file)$size
[1] 394545
> tools::md5sum(file)
R.oo_1.18.0.tar.gz
"1d1020ebb3962242b4fc713dbb4f9252"
> install.packages(file)
Installing package into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
inferring 'repos = NULL' from 'pkgs'
ERROR: dependency 'R.methodsS3' is not available for package 'R.oo'
* removing '/usr/local/lib/R/site-library/R.oo'
Warning message:
In install.packages(file) :
installation of package 'R.oo_1.18.0.tar.gz' had non-zero exit status
> install.packages('R.methodsS3')
Installing package into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
trying URL 'http://cran.rstudio.com/src/contrib/R.methodsS3_1.6.1.tar.gz'
Content type 'application/x-gzip' length 23156 bytes (22 Kb)
opened URL
==================================================
downloaded 22 Kb
* installing *source* package 'R.methodsS3' ...
** package 'R.methodsS3' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (R.methodsS3)
The downloaded source packages are in
'/tmp/RtmpkASdAQ/downloaded_packages'
> install.packages(file)
Installing package into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
inferring 'repos = NULL' from 'pkgs'
* installing *source* package 'R.oo' ...
** package 'R.oo' successfully unpacked and MD5 sums checked
** R
Warning in parse(outFile) :
invalid input found on input connection '/usr/local/lib/R/site-library/R.oo/R/R.oo'
** inst
** preparing package for lazy loading
Warning in parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE) :
invalid input found on input connection '/usr/local/lib/R/site-library/R.oo/R/R.oo'
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Warning: S3 methods '$.BasicObject', '$<-.BasicObject', '[[.BasicObject', '[[<-.BasicObject', 'as.character.BasicObject', 'attach.BasicObject', 'detach.BasicObject', 'equals.BasicObject', 'extend.BasicObject', 'getFields.BasicObject', 'getInstantiationTime.BasicObject', 'hasField.BasicObject', 'hashCode.BasicObject', 'isReferable.BasicObject', 'newInstance.BasicObject', 'objectSize.BasicObject', 'print.BasicObject', 'uses.character', '$.Class', '$<-.Class', '[[.Class', '[[<-.Class', 'argsToString.Class', 'as.character.Class', 'forName.Class', 'getDetails.Class', 'getFields.Class', 'getKnownSubclasses.Class', 'getMethods.Class', 'getName.Class', 'getPackage.Class', 'getRdDeclaration.Class', 'getRdHierarchy.Class', 'getRdMethods.Class', 'getStaticInstance.Class', 'getSuperclasses.Class', 'isAbstract.Class', 'isBeingCreated.Class', 'isDeprecated.Class', 'isPrivate.Class', 'isProtected.Class', 'isPublic.Class', 'isStatic.Class', 'newInstance.Class', 'print.Class', 'getKnownSubclasses.classRepresent [... truncated]
* DONE (R.oo)
------------------------------------------- FIRST LOG : R.oo only
R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages('R.oo')
Installing package into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
Warning in install.packages("R.oo") :
'lib = "/usr/local/lib/R/site-library"' is not writable
Would you like to use a personal library instead? (y/n) y
Would you like to create a personal library
~/R/x86_64-pc-linux-gnu-library/3.1
to install packages into? (y/n) y
also installing the dependency 'R.methodsS3'
trying URL 'http://cran.rstudio.com/src/contrib/R.methodsS3_1.6.1.tar.gz'
Content type 'application/x-gzip' length 23156 bytes (22 Kb)
opened URL
==================================================
downloaded 22 Kb
trying URL 'http://cran.rstudio.com/src/contrib/R.oo_1.18.0.tar.gz'
Content type 'application/x-gzip' length 394545 bytes (385 Kb)
opened URL
==================================================
downloaded 385 Kb
* installing *source* package 'R.methodsS3' ...
** package 'R.methodsS3' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (R.methodsS3)
* installing *source* package 'R.oo' ...
** package 'R.oo' successfully unpacked and MD5 sums checked
** R
Warning in parse(outFile) :
invalid input found on input connection '/home/rgrass/R/x86_64-pc-linux-gnu-library/3.1/R.oo/R/R.oo'
** inst
** preparing package for lazy loading
Warning in parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE) :
invalid input found on input connection '/home/rgrass/R/x86_64-pc-linux-gnu-library/3.1/R.oo/R/R.oo'
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Warning: S3 methods '$.BasicObject', '$<-.BasicObject', '[[.BasicObject', '[[<-.BasicObject', 'as.character.BasicObject', 'attach.BasicObject', 'detach.BasicObject', 'equals.BasicObject', 'extend.BasicObject', 'getFields.BasicObject', 'getInstantiationTime.BasicObject', 'hasField.BasicObject', 'hashCode.BasicObject', 'isReferable.BasicObject', 'newInstance.BasicObject', 'objectSize.BasicObject', 'print.BasicObject', 'uses.character', '$.Class', '$<-.Class', '[[.Class', '[[<-.Class', 'argsToString.Class', 'as.character.Class', 'forName.Class', 'getDetails.Class', 'getFields.Class', 'getKnownSubclasses.Class', 'getMethods.Class', 'getName.Class', 'getPackage.Class', 'getRdDeclaration.Class', 'getRdHierarchy.Class', 'getRdMethods.Class', 'getStaticInstance.Class', 'getSuperclasses.Class', 'isAbstract.Class', 'isBeingCreated.Class', 'isDeprecated.Class', 'isPrivate.Class', 'isProtected.Class', 'isPublic.Class', 'isStatic.Class', 'newInstance.Class', 'print.Class', 'getKnownSubclasses.classRepresent [... truncated]
* DONE (R.oo)
The downloaded source packages are in
'/tmp/RtmpDhnz5p/downloaded_packages'
------------------------------------------- FIRST LOG : r.utils complete
R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> install.packages('R.utils')
Installing package into '/usr/local/lib/R/site-library'
(as 'lib' is unspecified)
also installing the dependencies 'R.oo', 'R.methodsS3'
trying URL 'http://cran.rstudio.com/src/contrib/R.oo_1.18.0.tar.gz'
Content type 'application/x-gzip' length 394545 bytes (385 Kb)
opened URL
==================================================
downloaded 385 Kb
trying URL 'http://cran.rstudio.com/src/contrib/R.methodsS3_1.6.1.tar.gz'
Content type 'application/x-gzip' length 23156 bytes (22 Kb)
opened URL
==================================================
downloaded 22 Kb
trying URL 'http://cran.rstudio.com/src/contrib/R.utils_1.34.0.tar.gz'
Content type 'application/x-gzip' length 354260 bytes (345 Kb)
opened URL
==================================================
downloaded 345 Kb
* installing *source* package 'R.methodsS3' ...
** package 'R.methodsS3' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (R.methodsS3)
* installing *source* package 'R.oo' ...
** package 'R.oo' successfully unpacked and MD5 sums checked
** R
Warning in parse(outFile) :
invalid input found on input connection '/usr/local/lib/R/site-library/R.oo/R/R.oo'
** inst
** preparing package for lazy loading
Warning in parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE) :
invalid input found on input connection '/usr/local/lib/R/site-library/R.oo/R/R.oo'
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Warning: S3 methods '$.BasicObject', '$<-.BasicObject', '[[.BasicObject', '[[<-.BasicObject', 'as.character.BasicObject', 'attach.BasicObject', 'detach.BasicObject', 'equals.BasicObject', 'extend.BasicObject', 'getFields.BasicObject', 'getInstantiationTime.BasicObject', 'hasField.BasicObject', 'hashCode.BasicObject', 'isReferable.BasicObject', 'newInstance.BasicObject', 'objectSize.BasicObject', 'print.BasicObject', 'uses.character', '$.Class', '$<-.Class', '[[.Class', '[[<-.Class', 'argsToString.Class', 'as.character.Class', 'forName.Class', 'getDetails.Class', 'getFields.Class', 'getKnownSubclasses.Class', 'getMethods.Class', 'getName.Class', 'getPackage.Class', 'getRdDeclaration.Class', 'getRdHierarchy.Class', 'getRdMethods.Class', 'getStaticInstance.Class', 'getSuperclasses.Class', 'isAbstract.Class', 'isBeingCreated.Class', 'isDeprecated.Class', 'isPrivate.Class', 'isProtected.Class', 'isPublic.Class', 'isStatic.Class', 'newInstance.Class', 'print.Class', 'getKnownSubclasses.classRepresent [... truncated]
* DONE (R.oo)
* installing *source* package 'R.utils' ...
** package 'R.utils' successfully unpacked and MD5 sums checked
** R
Warning in parse(outFile) :
invalid input found on input connection '/usr/local/lib/R/site-library/R.utils/R/R.utils'
Error in parse(outFile) :
/tmp/RtmpoDt0SO/R.INSTALL5248cb4168/R.utils/R/readWindowsShortcut.R:156:0: unexpected end of input
154: # -------------------------
155: # 0h 1 dword Always 0000004Ch
^
ERROR: unable to collate and parse R files for package 'R.utils'
* removing '/usr/local/lib/R/site-library/R.utils'
The downloaded source packages are in
'/tmp/RtmpSJw25O/downloaded_packages'
Warning message:
In install.packages("R.utils") :
installation of package 'R.utils' had non-zero exit status
> sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_3.1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment