On 20.08.2013 01:06, Daniel Nordlund wrote:
The file you had, assist_3.1.2.tar.gz, was not a Windows binary zip file. It
was a source tarball. That kind of file needs to be built and installed
differently. In order to do that, you need to have all the tools necessary for
building packages. This package does not have just pure R code in it, but it
has code that needs compiling. You need to determine why the package was
removed from CRAN. It may no longer work with current versions of R. You
probably need to contact the package maintainer to resolve this problem. Sorry
I can't provide more help.
.... and possible reasons for package archivals on CRAN are unresponsive
maintainers of packages that do not pass the checks without problems any
more.
Best,
Uwe Ligges
Dan
Daniel Nordlund
Bothell, WA USA
_____
From: Shang Zuofeng [mailto:zuofengsh...@gmail.com]
Sent: Monday, August 19, 2013 2:16 PM
To: Daniel Nordlund
Cc: r-help@r-project.org
Subject: Re: [R] How to rebuild an R package that has been removed from CRAN?
Thanks, Dan!
The package is "assist" which can be downloaded from the following link:
http://cran.r-project.org/src/contrib/Archive/assist/
The one I chose was assist_3.1.2.tar.gz
I have changed this file to .zip and installed it from local directory through
R. However, this method is still not working.
Thanks a lot for your kind help!
Best regards,
Zuofeng
2013/8/19 Daniel Nordlund <djnordl...@frontier.com>
-----Original Message-----
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Shang Zuofeng
Sent: Monday, August 19, 2013 1:26 PM
To: r-help@r-project.org
Subject: [R] How to rebuild an R package that has been removed from CRAN?
Dear All,
My project requires the use of a specific R package. However, this R
package has been removed from CRAN. But its older version can be found.
Unfortunately, the older version cannot be used. The thing is, after I
downloaded the older version and unzip it into the library folder of R,
and I input library("package name"), it says that the package "is not a
valid installed package".
After an intensive search, I found a possible solution: to rebuild this R
package so that it may work properly. I have no idea how to make this
achieved because of my little experience on rebuilding an R package.
I highly appreciate your help.
Sincere thanks.
Zuofeng
Well, you haven't told us enough to let us help you. Given that you have a zip file, I
will assume for the moment that you are using some variant of MS Windows. I don't think
you want to unzip that file directly. I think you want open R, go to the packages menu
and choose install package from local zip file. Whether that will work depends on your
version of R, your OS, the requirements of the package, why it was removed from CRAN, and
a host of other things. If you want more detailed help, you need to provide the "at
a minimum" info requested in the posting guide. It would also help if you told us
what package you are trying to install.
Dan
Daniel Nordlund
Bothell, WA USA
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.