krlmlr / r-appveyor

Tools for using R with AppVeyor (https://appveyor.com)
132 stars 60 forks source link

Build error files #17

Closed sckott closed 10 years ago

sckott commented 10 years ago

@krlmlr This may be something simple I'm missing, but do you know if there is a way to inspect files on errors? For example, this build had an error https://ci.appveyor.com/project/sckott/rnoaa/build/1.0.5#L359 and points to a file, but it's not clear if I can look at this file or not.

krlmlr commented 10 years ago

I don't think artifacts are provided for failed builds, but the .out file in question is actually echoed to the console at line 394ff. by travis-ci. There may be an issue with the ISO image, I'll take a look.

krlmlr commented 10 years ago

This seems to be an issue with running R from an ISO image. See krlmlr/r-portable#8.

sckott commented 10 years ago

@krlmlr I, now I see the output, thanks for pointing that out. We get this same error across a lot of our R packages.

krlmlr commented 10 years ago

This error seems to occurs when running R from a mounted ISO file, and only with R CMD check --as-cran. I'll have to investigate this further.

Currently, there are two options:

Every adaptation is just a single line in appveyor.yml, see the SHA1-style links above. The builds haven't run yet, but their success should indicate if the change is likely to work with your package.

krlmlr commented 10 years ago

Both methods -- turning off manual install or not testing as CRAN -- should work.

sckott commented 10 years ago

great, will try, thanks so much

krlmlr commented 10 years ago

I'm applying a rather crude solution here -- copy R from the ISO file to the hard disk. R is supposed to run correctly from the ISO, but doesn't -- see issue report. Once this is merged, you should be able to check "as CRAN" again.

sckott commented 10 years ago

great, thanks for the fix, even if crude