Problem with particular file in XML package?
I have also seen this problem on a student's windows machine (with R 3.2.0 and on multiple mirrors). It appeared that the package zip itself was being corrupted (with an error to the tune of downloaded file size does not agree with actual file size). The most likely explanation that I could come up with was that a virus checker was hitting a false positive and mangling the zip file. Hadley On Thu, May 28, 2015 at 1:38 AM, Prof Brian Ripley
<ripley at stats.ox.ac.uk> wrote:
This really should have been sent to the package maintainer. But that the zip file is corrupt has been reported several times, and does not block installation for anyone else, so your (plural) diagnosis is wrong. On 28/05/2015 03:56, Gen wrote:
I have been attempting to install the R devtools package at work. The
version of R is 3.1.2 (Pumpkin Helmet). However, the installation of
devtools fails because devtools depends on rversions which in turn depends
upon the XML package (XML_3.98-1.1.tar.gz), and the XML package is not
importing correctly for us.
One of our system administrators tried scanning through the files in the
XML package, and he said that the particular file:
/src/contrib/XML_3.98-1.1.tar.gz/XML/inst/exampleData/dtd.zip looks
corrupted. The actual error message he received was: "Archive parsing
failed! (Data is corrupted)." For the record, I tried downloading an
older version of the XML package (XML_3.95-0.1.tar.gz) but that was also
without success -- this time there was a separate error message about not
being able to locate xml2-config. (Perhaps XML_3.95-0.1.tar.gz is just
not
compatible with R version 3.1.2?)
I tried browsing over to the "CRAN checks" link for the XML package and
noticed several red warning messages under the "Status" column -- not sure
if that is typical? Has anyone else had trouble with the XML package
lately and if so, how did you resolve it? Would it be possible to remove
the potentially corrupted file and then re-upload the package source
XML_3.98-1.1.tar.gz to the CRAN webpage? Thanks for your
help/suggestions!
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
PLEASE do, including what it says about HTML mail, 'at a minimum' information required and upgrading before posting: R 3.1.2 is already 2 versions obsolete. -- Brian D. Ripley, ripley at stats.ox.ac.uk Emeritus Professor of Applied Statistics, University of Oxford 1 South Parks Road, Oxford OX1 3TG, UK
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.