Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r_check_revdep not working #149

Open
jeroen opened this issue Mar 9, 2015 · 2 comments
Open

r_check_revdep not working #149

jeroen opened this issue Mar 9, 2015 · 2 comments

Comments

@jeroen
Copy link

jeroen commented Mar 9, 2015

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
Copy link
Owner

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

@jeroen
Copy link
Author

jeroen commented Mar 9, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants