nhejazi / biotmle

:package: :microscope: R/biotmle: Targeted Learning with Moderated Statistics for Biomarker Discovery
https://code.nimahejazi.org/biotmle/
Other
4 stars 2 forks source link

appveyor build exits with code 5 #29

Closed nhejazi closed 7 years ago

nhejazi commented 7 years ago

Using the latest version of a GitHub package that isn't owned by my account causes a failure -- in particular, it appears that I am restricted to the CRAN version of Karthik's wesanderson color palette.

See the build log on Appveyor -- specifically, v1.0.101 -- for details. Package installation fails with exit code 5. It's unclear what this means or why this is happening, given that the Travis-CI build is successful.

nhejazi commented 7 years ago

It appears that this rather cryptic error has been encountered on Appveyor before -- see this issue.

nhejazi commented 7 years ago

Needed to add a GITHUB_PAT environment variable with public_repo permissions. Should have been fixed by 134d401, but a new error emerges...

nhejazi commented 7 years ago

possibly related error: Error in readRDS(dest) : error reading from connection stemming again from the attempt to install the wesanderson package via install_github on Appveyor.

nhejazi commented 7 years ago

The Appveyor encryption UI provides a convenient utility for protecting environment variables necessary for build processes (like the GITHUB_PAT required in this case).

nhejazi commented 7 years ago

This is no longer a problem as of da26e25. It was caused by using palettes in the wesanderson package that had been renamed between the CRAN (v.0.3.2) release and the GitHub master (v.0.3.4) release.