craigcitro / r-travis

Tools for using R with Travis (http://travis-ci.org) in lieu of a website:

Home Page:https://github.com/craigcitro/r-travis/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

r_check_revdep not working

jeroen opened this issue · comments

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

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

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