On Nov 9, 2008, at 9:04 AM, Kjell Konis wrote:

Just to be clear, will using 'R CMD build --binary packageName' then renaming the resulting file 'packageName_version.tgz' yield a valid binary package for Mac OS X?


Yes.

Cheers,
Simon


Thanks,
Kjell

On Nov 7, 2008, at 10:00 PM, Simon Urbanek wrote:


On Nov 7, 2008, at 11:28 , Kjell Konis wrote:

There seems to be a bug when using install.packages to install a
local binary package. Installing the package using R CMD INSTALL in
a shell works fine.

file.exists("/u/smat/konis/Documents/Projects/RHugin_0.5-3_R_i386-
apple-darwin8.11.1.tar.gz")
[1] TRUE

install.packages("/u/smat/konis/Documents/Projects/
RHugin_0.5-3_R_i386-apple-darwin8.11.1.tar.gz", repos = NULL)
Avis dans install.packages("/u/smat/konis/Documents/Projects/
RHugin_0.5-3_R_i386-apple-darwin8.11.1.tar.gz",  :
l'argument 'lib' manque : '/u/smat/konis/Library/R/2.8/library' est
utilisé
Erreur dans gzfile(file, "r") : impossible d'ouvrir la connexion
De plus : Warning message:
In gzfile(file, "r") :
impossible d'ouvrir le fichier compressé 'RHugin_0.5-3_R_i386-apple-
darwin8.11.1.tar.gz/DESCRIPTION', cause probable : 'No such file or
directory'


Binary packages for Mac OS X are expected to have the extension .tgz
so the above is not a valid binary package (see 6.3.2 in R-admin).

In addition binary packages for Mac OS X are expected to have the
filename packageName_version.tgz, therefore files with platform
designation are not supported, either. This is different from other
unix systems. I have relaxed the requirements for
install.packages(,repos=NULL) in R-devel but I would still strongly
recommend to adhere to the above rules.

Cheers,
Simon


Sys.info()
                                                                                
     sysname
                                                                                    
"Darwin
"
                                                                                
     release
                                                                                     
"9.5.0
"
                                                                                
     version
"Darwin Kernel Version 9.5.0: Wed Sep  3 11:29:43 PDT 2008;
root:xnu-1228.7.58~1/RELEASE_I386"
                                                                                
    nodename
                                                                          
"imamac05
.epfl.ch"
                                                                                
     machine
                                                                                     
 "i386
"
                                                                                
       login
                                                                                     
"konis
"
                                                                                
        user
                                                                                     
"konis
"

version
             _
platform       i386-apple-darwin8.11.1
arch           i386
os             darwin8.11.1
system         i386, darwin8.11.1
status
major          2
minor          8.0
year           2008
month          10
day            20
svn rev        46754
language       R
version.string R version 2.8.0 (2008-10-20)

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac






_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to