craigcitro / r-travis

Tools for using R with Travis (http://travis-ci.org) in lieu of a website:
https://github.com/craigcitro/r-travis/wiki
Apache License 2.0
176 stars 42 forks source link

r_check_revdep not working #149

Open jeroen opened 9 years ago

jeroen commented 9 years ago

Setting r_check_revdep: true for any package results in:

$ export RCHECK_DIR=$(Rscript -e 'cat(paste0(devtools::as.package(".")$package, ".Rcheck"))')
0.01s$ grep -q -R "WARNING" "${RCHECK_DIR}/00check.log"; RETVAL=$?
Checking reverse dependencies
0.18s$ Rscript -e 'library("devtools"); res <- revdep_check(); if (length(res) > 0) {  revdep_check_summary(res);  revdep_check_save_logs(res);  q(status = 1, save = "no"); }'
Reverse dependency checks for curl =============================================
Installing curl
Error in normalizePath(paths, mustWork = TRUE) : 
  path[1]="/tmp/RtmpQYGGmz/R-lib": No such file or directory
Calls: revdep_check -> with_libpaths -> set -> normalizePath
Execution halted
craigcitro commented 9 years ago

@hadley does this sound at all familiar? (something in devtools is bailing.) i'll dig if not.

jeroen commented 9 years ago

I'm getting the same error locally

> library(devtools)
> revdep_check("curl")
Error: Can't find directory curl
> revdep_check("~/workspace/curl")
Reverse dependency checks for curl =============================================
Installing curl
Error in normalizePath(paths, mustWork = TRUE) : 
  path[1]="/var/folders/23/x5pgw0zj419dbpxm5srj_24r0000gn/T//RtmpXJDc8m/R-lib": No such file or directory