Hei there,
I am trying to build a new R package and after running
R CMD check and
R CMD build
I have now my pkg.tar.gz file.
The problem is that if i try to install it using
install.packages("pkg.tar.gz",repos=NULL)
i get the error

Warning in install.packages("pkg/INLA_1.0.tar.gz", repos = NULL) :
         argument 'lib' is missing: using '/usr/lib/R/library'
Warning in install.packages("pkg/INLA_1.0.tar.gz", repos = NULL) :
         'lib = "/usr/lib/R/library"' is not writable
Error in install.packages("pkg/INLA_1.0.tar.gz", repos = NULL) :
        unable to install packages

someone can help me with this??
Thanks a lot
Sara

	[[alternative HTML version deleted]]

