Hmisc icon indicating copy to clipboard operation
Hmisc copied to clipboard

Issue while building on R on Ubuntu 15.04

Open zaid-golwala opened this issue 9 years ago • 1 comments

Hi. I am facing below issue while build this package on R on Ubuntu 15.04

  • R CMD check Hmisc
  • using log directory ‘/home/jenkins/workspace/Rlang_Hmisc_Ubuntu15.04/Hmisc.Rcheck’
  • using R version 3.2.3 (2015-12-10)
  • using platform: powerpc64le-unknown-linux-gnu (64-bit)
  • using session charset: UTF-8
  • checking for file ‘Hmisc/DESCRIPTION’ ... OK
  • this is package ‘Hmisc’ version ‘3.17-0’
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking for hidden files and directories ... NOTE Found the following hidden files and directories: .git These were most likely included in error. See section ‘Package structure’ in the ‘Writing R Extensions’ manual.
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking whether package ‘Hmisc’ can be installed ... ERROR Installation failed. See ‘/home/jenkins/workspace/Rlang_Hmisc_Ubuntu15.04/Hmisc.Rcheck/00install.out’ for details.
  • DONE

zaid-golwala avatar Feb 15 '16 11:02 zaid-golwala

I install on Ubuntu 15.10 without difficulty. It is impossible to know what went wrong since you did not provide 00install.out or the part of it that is relevant. The .git message is just a warning.

This is the bash script that I use to run R CMD CHECK to avoid warnings about .git etc.:

echo "Checking package $1" pushd ~/R rm -rf /tmp/$1 cp -rp $1 /tmp cd /tmp/$1 rm -rf copyright www .git R/.Rhistory tests/.Rhistory cd .. R CMD check --as-cran $1 | grep -v " OK" popd ``

harrelfe avatar Feb 15 '16 12:02 harrelfe