[R] R CMD build creates tar file instead of tar.gz file

Ian Schiller Ian.Schiller at clinepi.mcgill.ca
Thu Mar 24 15:36:02 CET 2011


Dear all,

I'm trying to create my own package by following for instance http://epub.ub.uni-muenchen.de/6175/2/tr036.pdf  In step 6 (page 19) it says that the command 'R CMD build <mypackage>' should result in a tar.gz file.  However, after running the command I end up with a tar file only (no gz extension).  I also get the following warnings in the command prompt

C:\Program Files\R\R-2.12.2\src>R CMD build HSROC
* checking for file 'HSROC/DESCRIPTION' ... OK
* preparing 'HSROC':
* checking DESCRIPTION meta-information ... OK
cygwin warning:
  MS-DOS style path detected: C:/Program Files/R/R-2.12.2/src/HSROC_1.0.0.tar
  Preferred POSIX equivalent is: /cygdrive/c/Program Files/R/R-2.12.2/src/HSROC_
1.0.0.tar
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
cygwin warning:
  MS-DOS style path detected: C:/Program Files/R/R-2.12.2/src/HSROC_1.0.0.tar
  Preferred POSIX equivalent is: /cygdrive/c/Program Files/R/R-2.12.2/src/HSROC_
1.0.0.tar
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'HSROC_1.0.0.tar.gz'
cygwin warning:
  MS-DOS style path detected: C:/Program Files/R/R-2.12.2/src/HSROC_1.0.0.tar
  Preferred POSIX equivalent is: /cygdrive/c/Program Files/R/R-2.12.2/src/HSROC_
1.0.0.tar
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
cygwin warning:
  MS-DOS style path detected: C:/Program Files/R/R-2.12.2/src/HSROC_1.0.0.tar
  Preferred POSIX equivalent is: /cygdrive/c/Program Files/R/R-2.12.2/src/HSROC_
1.0.0.tar
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames


I have installed R-2.12.2 which should be the latest version.  I also have the latest version of Rtools (Rtools212.exe).  My operating system is Windows XP professional x64 edition if it can help.  Any clues on how to solve this issue would be appreciated.

Ian

******************************************************************************************************************************
IAN SCHILLER, M.Sc.

Statistical research assistant, 
Division of Clinical Epidemiology, McGill University Health Center
Assistant de recherche en statistiques,
Département d'Épidémiologie Clinique, Centre Universitaire de Santé Mcgill

Tel: 514 934 1934 ext. 36925
Email: ian.schiller at clinepi.mcgill.ca



More information about the R-help mailing list