-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fix GitHub Action #170
Comments
Actually, it may be more related to this part:
Which corresponds to this part of the MSS vignette: eduAttainOkbayPth <- system.file("extdata", "eduAttainOkbay.txt",
package = "MungeSumstats")
formatted_path <- tempfile(fileext = "eduAttainOkbay_standardised.tsv.gz")
#### 1. Read in the data and standardise header names ####
dat <- MungeSumstats::read_sumstats(path = eduAttainOkbayPth,
standardise_headers = TRUE)
knitr::kable(head(dat))
#### 2. Write to disk as a compressed, tab-delimited, tabix-indexed file ####
formatted_path <- MungeSumstats::write_sumstats(sumstats_dt = dat,
save_path = formatted_path,
tabix_index = TRUE,
write_vcf = FALSE,
return_path = TRUE) Running this step locally i get some messages:
I'm wondering if this has something to do with whether the file is compressed or not, due to the lack of some system deps on GHA (e.g. gzip, bgzip). |
Ah okay I didn't realise this was the source of the error! Are those system dependencies something you can add in to rworkflows GHA calls manually? |
Still just a hypothesis at this point, just logging some ideas. But yeah, there's a couple of options for installing extra system deps. Will confirm that's the issue first |
I also noticed that the Ubuntu GHA runner is totally stopping midway.
I realized this is bc of the following error. Basically, the combination of creating the Docker container and installing all the large MSS deps causes the Ubuntu runner to run out of disk space! Need to look into whether we can increase that limit somehow (perhaps by paying GitHub for some additional features) Some possible solutions. I'll test them out and implement one of them in |
Using * Installing package...
* Checking for deprecated package usage...
Error in `collect()`:
! Failed to collect lazy table.
Caused by error in `db_collect()`:
! Arguments in `...` must be used.
✖ Problematic argument:
• ..1 = Inf
ℹ Did you misspell an argument name?
Backtrace:
▆
1. ├─BiocCheck::BiocCheck(...)
2. │ └─BiocCheck:::BiocCheckRun(...)
3. │ └─BiocCheck:::checkDeprecatedPackages(package_dir)
4. │ └─BiocCheck:::getAllDeprecatedPkgs()
5. │ └─BiocCheck:::get_deprecated_status("release")
6. │ └─BiocCheck:::get_status_file_cache(status_file_url)
7. │ └─BiocFileCache::BiocFileCache(cache, ask = FALSE)
8. │ └─BiocFileCache:::.sql_create_db(bfc)
9. │ └─BiocFileCache:::.sql_validate_version(bfc)
10. │ └─BiocFileCache:::.sql_schema_version(bfc)
11. │ ├─base::tryCatch(...)
12. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
13. │ └─tbl(src, "metadata") %>% collect(Inf)
14. ├─dplyr::collect(., Inf)
15. └─dbplyr:::collect.tbl_sql(., Inf)
16. ├─base::tryCatch(...)
17. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
18. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
19. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
20. └─dbplyr::db_collect(x$src$con, sql, n = n, warn_incomplete = warn_incomplete, ...)
21. └─rlang (local) `<fn>`()
22. └─rlang:::check_dots(env, error, action, call)
23. └─rlang:::action_dots(...)
24. ├─base (local) try_dots(...)
25. └─rlang (local) action(...)
Execution halted That said, I think this is the exact same error we encountered recently, so I think this should fix itself in the next day or so:
|
Just upgraded @Al-Murphy also mentioned we could try only installing the essential Bioc database packages for tests. I would have to add this capability into |
Unfortunately still seems to be failing on linux (and mac but possibly for different reasons?). Installing only imports would not be enough for the unit tests (even for mac/windows which have less tests than linux). The only suggest packages you can ignore installing are |
https://github.com/neurogenomics/MungeSumstats/actions/runs/6652926537/job/18077848264
It seems the
rworkflows
GHA is failing due to the inability get some some resource files:This could be due to one or more of the following:
The text was updated successfully, but these errors were encountered: