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

failure to find root directory mid-check #365

Open
bbolker opened this issue Jul 3, 2023 · 0 comments
Open

failure to find root directory mid-check #365

bbolker opened this issue Jul 3, 2023 · 0 comments

Comments

@bbolker
Copy link

bbolker commented Jul 3, 2023

While running revdep_check() on the lme4 package (446 packages, 20 cores, ~3-hour projected run time), I get a sudden stop (1 hour in, after checking 100+ packages) with:

Error: No root directory found in /home/bolker/Documents/R/pkgs/lme4git or its parent directories. Root criterion: contains a file "DESCRIPTION" with contents matching "^Package: "

I was running:

revdep_check("lme4", timeout = as.difftime(45, units = "mins"),
             num_workers = 20)

(lme4 is the package directory, it's directly under the directory listed in the error message)
This isn't a big deal since I can restart, but thought I would report it. (I am simultaneously running revdep_check() on another package on the same machine ... could that be an issue?)

(update: it's failed a couple more times now; I shut down the other revdep_check process in case that was interfering. I've now reduced num_workers to 16 in case that helps with race conditions?)

Session info:

R Under development (unstable) (2023-07-03 r84632)
Platform: x86_64-pc-linux-gnu
Running under: Pop!_OS 22.04 LTS

Matrix products: default
BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so;  LAPACK version 3.10.0

locale:
 [1] LC_CTYPE=en_CA.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8    
 [5] LC_MONETARY=en_CA.UTF-8    LC_MESSAGES=en_CA.UTF-8   
 [7] LC_PAPER=en_CA.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C       

time zone: America/Toronto
tzcode source: system (glibc)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] revdepcheck_1.0.0.9001

loaded via a namespace (and not attached):
 [1] rappdirs_0.3.3       utf8_1.2.3           RSQLite_2.3.1       
 [4] hms_1.1.3            digest_0.6.32        magrittr_2.0.3      
 [7] fastmap_1.1.1        blob_1.2.4           jsonlite_1.8.7      
[10] rprojroot_2.0.3      processx_3.8.2       parsedate_1.3.1     
[13] progress_1.2.2       sessioninfo_1.2.2    pkgbuild_1.4.2      
[16] whoami_1.3.0         DBI_1.1.3            rcmdcheck_1.4.0     
[19] rematch2_2.1.2       ps_1.7.5             httr_1.4.6          
[22] fansi_1.0.4          cli_3.6.1            rlang_1.1.1         
[25] crayon_1.5.2         cranlike_1.0.2       bit64_4.0.5         
[28] yaml_2.3.7           remotes_2.4.2        base64enc_0.1-3     
[31] withr_2.5.0          cachem_1.0.8         crancache_0.0.0.9001
[34] tools_4.4.0          gargle_1.5.1         debugme_1.1.0       
[37] memoise_2.0.1        gmailr_2.0.0         curl_5.0.1          
[40] assertthat_0.2.1     vctrs_0.6.3          R6_2.5.1            
[43] lifecycle_1.0.3      fs_1.6.2             bit_4.0.5           
[46] xopen_1.0.0          clisymbols_1.2.0     pkgconfig_2.0.3     
[49] desc_1.4.2           callr_3.7.3          pillar_1.9.0        
[52] glue_1.6.2           xfun_0.39            tibble_3.2.1        
[55] knitr_1.43           compiler_4.4.0       prettyunits_1.1.1   
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

1 participant