Al-Murphy / MungeSumstats

Rapid standardisation and quality control of GWAS or QTL summary statistics
https://doi.org/doi:10.18129/B9.bioc.MungeSumstats
75 stars 16 forks source link

`missing value where TRUE/FALSE needed` #49

Closed bschilder closed 3 years ago

bschilder commented 3 years ago

As always, HPC is a joy to run otherwise working scripts on.

Requested the following interactive resources on HPC:

qsub -I -l select=01:ncpus=8:mem=96gb -l walltime=08:00:00

Then tried the following in R:

# Gather OpenGWAS IDs
metagwas <- MungeSumstats::find_sumstats(traits = c("amyotrophic","frontotemporal","dementi
    a"))    
metagwas=metagwas[grep("alzheimer",metagwas$trait, ignore.case = T, invert=T),]      

# Import
gwas <- MungeSumstats::import_sumstats(ids = metagwas$id,  
                                           save_dir = "/rds/general/project/neurogenomics-lab/li
    ve/GWAS_sumstats/OpenGWAS",  
                                           nThread = 8,  
                                           parallel_across_ids = FALSE)    

The VCFs seem to download ok, but then I get the missing value where TRUE/FALSE needed error right after.

I'm showing the output from when I had already downloaded the VCF files first, and then imported them on a 2nd run. I checked and it doesn't seem like the VCFs got screwed up or anything during download (e.g. only partially downloaded).

...
...
...
========== Processing dataset : ebi-a-GCST005647 ==========

Using previously downloaded VCF.
Formatted summary statistics will be saved to ==> /rds/general/project/neurogenomics-lab/live/GWAS_sumstats/OpenGWAS/ebi-a-GCST005647.tsv.gz
missing value where TRUE/FALSE needed
...
...
...

I ran again with set to effect_columns_nonzero=TRUE and effect_columns_nonzero=FALSE (just in case), but didn't seem to make any difference.

Session info

``` R version 4.1.1 (2021-08-10) Platform: x86_64-conda-linux-gnu (64-bit) Running under: CentOS Linux 8 (Core) Matrix products: default BLAS/LAPACK: /rds/general/user/bms20/home/anaconda3/envs/ewce_suite/lib/libopenblasp-r0.3.17.so locale: [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C LC_TIME=en_GB.UTF-8 [4] LC_COLLATE=en_GB.UTF-8 LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 [7] LC_PAPER=en_GB.UTF-8 LC_NAME=C LC_ADDRESS=C [10] LC_TELEPHONE=C LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] MungeSumstats_1.1.14 loaded via a namespace (and not attached): [1] bitops_1.0-7 matrixStats_0.60.0 fs_1.5.0 [4] usethis_2.0.1 devtools_2.4.2 bit64_4.0.5 [7] filelock_1.0.2 progress_1.2.2 httr_1.4.2 [10] googleAuthR_1.4.0 rprojroot_2.0.2 GenomeInfoDb_1.28.0 [13] tools_4.1.1 utf8_1.2.2 R6_2.5.0 [16] DBI_1.1.1 BiocGenerics_0.38.0 withr_2.4.2 [19] tidyselect_1.1.1 prettyunits_1.1.1 processx_3.5.2 [22] bit_4.0.4 curl_4.3.2 compiler_4.1.1 [25] cli_3.0.1 Biobase_2.52.0 desc_1.3.0 [28] DelayedArray_0.18.0 rtracklayer_1.52.0 callr_3.7.0 [31] rappdirs_0.3.3 stringr_1.4.0 digest_0.6.27 [34] Rsamtools_2.8.0 R.utils_2.10.1 XVector_0.32.0 [37] pkgconfig_2.0.3 sessioninfo_1.1.1 MatrixGenerics_1.4.0 [40] dbplyr_2.1.1 fastmap_1.1.0 BSgenome_1.60.0 [43] rlang_0.4.11 rstudioapi_0.13 RSQLite_2.2.5 [46] BiocIO_1.2.0 generics_0.1.0 jsonlite_1.7.2 [49] BiocParallel_1.26.0 dplyr_1.0.7 R.oo_1.24.0 [52] VariantAnnotation_1.38.0 RCurl_1.98-1.4 magrittr_2.0.1 [55] GenomeInfoDbData_1.2.6 Matrix_1.3-4 Rcpp_1.0.7 [58] S4Vectors_0.30.0 fansi_0.4.2 lifecycle_1.0.0 [61] R.methodsS3_1.8.1 stringi_1.7.3 yaml_2.2.1 [64] SummarizedExperiment_1.22.0 zlibbioc_1.38.0 pkgbuild_1.2.0 [67] BiocFileCache_2.0.0 grid_4.1.1 blob_1.2.2 [70] parallel_4.1.1 crayon_1.4.1 lattice_0.20-44 [73] Biostrings_2.60.0 GenomicFeatures_1.44.1 hms_1.1.0 [76] KEGGREST_1.32.0 ps_1.6.0 pillar_1.6.2 [79] GenomicRanges_1.44.0 rjson_0.2.20 biomaRt_2.48.0 [82] stats4_4.1.1 pkgload_1.2.1 XML_3.99-0.7 [85] glue_1.4.2 data.table_1.14.0 remotes_2.4.0 [88] png_0.1-7 vctrs_0.3.8 testthat_3.0.4 [91] purrr_0.3.4 assertthat_0.2.1 cachem_1.0.5 [94] restfulr_0.0.13 gargle_1.2.0 tibble_3.1.3 [97] GenomicAlignments_1.28.0 AnnotationDbi_1.54.0 memoise_2.0.0 [100] IRanges_2.26.0 ellipsis_0.3.2 ```
Al-Murphy commented 3 years ago

Strange! Maybe try just running a single id (ebi-a-GCST005647 since it's where the error was) through import_sumstats and see if the error persists?

Al-Murphy commented 3 years ago

Any update on whether this is a HPC or MungeSumstats issue? Locally I can run:

gwas <- MungeSumstats::import_sumstats(ids = "ebi-a-GCST005647", 
                                       save_dir = "~/Downloads/",  
                                       nThread = 10, 
                                       parallel_across_ids = FALSE,
                                       force_new = FALSE)

without an issue so I guess the issue comes from the save directory on the HPC. Maybe try and run the above just on the HPC and let me know if the issue persists.

Al-Murphy commented 3 years ago

Any update on this @bschilder?

bschilder commented 3 years ago

Just tried again on HPC, still seems to be happening. Tried logging the errors but doesnt seem like anything was written before it ended:

gwas <- MungeSumstats::import_sumstats(ids = metagwas$id[1],   
                                               save_dir = "/rds/general/project/neurogenomics-lab/li 
        ve/GWAS_sumstats/OpenGWAS",   
                                               nThread = 8, force_new=T,   
                                               parallel_across_ids = FALSE, log_folder_ind=T, log_mungesumstats_msgs=T, log_folder="logs/")

Based on the messages, seems to be happening right after check_save_path:


Processing 1 datasets from Open GWAS.

========== Processing dataset : finn-a-G6_ALZHEIMER ==========

Downloading VCF ==> /rds/general/ephemeral/user/bms20/ephemeral//Rtmpdjpunb/finn-a-G6_ALZHEIMER.vcf.gz
Downloading with download.file.
trying URL 'https://gwas.mrcieu.ac.uk/files/finn-a-G6_ALZHEIMER/finn-a-G6_ALZHEIMER.vcf.gz'
Content type 'application/gzip' length 222988378 bytes (212.7 MB)
==================================================
downloaded 212.7 MB

Downloading VCF index ==> https://gwas.mrcieu.ac.uk/files/finn-a-G6_ALZHEIMER/finn-a-G6_ALZHEIMER.vcf.gz.tbi
Downloading with download.file.
trying URL 'https://gwas.mrcieu.ac.uk/files/finn-a-G6_ALZHEIMER/finn-a-G6_ALZHEIMER.vcf.gz.tbi'
Content type 'application/gzip' length 1600703 bytes (1.5 MB)
==================================================
downloaded 1.5 MB

Formatted summary statistics will be saved to ==> /rds/general/project/neurogenomics-lab/li
    ve/GWAS_sumstats/OpenGWAS/finn-a-G6_ALZHEIMER.tsv.gz
Log data to be saved to ==> logs/
missing value where TRUE/FALSE needed
Done with all processing in 0.4 minutes.
Al-Murphy commented 3 years ago

Okay so this runs for me locally (see below), what version of MungeSumstats are you using? Hoping that's it and it isn't a HPC issue. Maybe trying running again with the latest version of MungeSumstats (1.1.26) and see if that solves it?:

> gwas <- MungeSumstats::import_sumstats(ids = "finn-a-G6_ALZHEIMER",
+                                        save_dir = "~/Downloads/",   
+                                        nThread = 8, force_new=T,   
+                                        parallel_across_ids = FALSE, 
+                                        log_folder_ind=T, 
+                                        log_mungesumstats_msgs=T,
+                                        log_folder="~/Downloads/")
Processing 1 datasets from Open GWAS.

========== Processing dataset : finn-a-G6_ALZHEIMER ==========

Downloading VCF ==> /var/folders/hd/jm8lzp7s4dl_wlkykzhz66x80000gn/T//Rtmp6hFEUF/finn-a-G6_ALZHEIMER.vcf.gz
Downloading with download.file.
trying URL 'https://gwas.mrcieu.ac.uk/files/finn-a-G6_ALZHEIMER/finn-a-G6_ALZHEIMER.vcf.gz'
Content type 'application/gzip' length 222988378 bytes (212.7 MB)
==================================================
downloaded 212.7 MB

Downloading VCF index ==> https://gwas.mrcieu.ac.uk/files/finn-a-G6_ALZHEIMER/finn-a-G6_ALZHEIMER.vcf.gz.tbi
Downloading with download.file.
trying URL 'https://gwas.mrcieu.ac.uk/files/finn-a-G6_ALZHEIMER/finn-a-G6_ALZHEIMER.vcf.gz.tbi'
Content type 'application/gzip' length 1600703 bytes (1.5 MB)
==================================================
downloaded 1.5 MB

Formatted summary statistics will be saved to ==> /Users/alanmurphy/Downloads//finn-a-G6_ALZHEIMER.tsv.gz
Log data to be saved to ==> /Users/alanmurphy/Downloads/
Returning path to saved data.                                                                                                        

finn-a-G6_ALZHEIMER : Done in 7.53 minutes.

Done with all processing in 7.53 minutes.

And the file:

> data.table::fread('/Users/alanmurphy/Downloads//finn-a-G6_ALZHEIMER.tsv.gz')
|--------------------------------------------------|
|==================================================|
                 SNP CHR       BP A1 A2     INFO    BETA     SE        LP      FRQ          P
      1: rs556300838   1   589557  C  T 0.999627  2.0439 1.0469 1.2932800 0.000373 0.05090026
      2:  rs28760963   1   591353  C  T 0.995890  0.1759 0.4113 0.1746390 0.004110 0.66889970
      3: rs368254419   1   610932  C  T 0.966570  0.0036 0.1818 0.0070049 0.033430 0.98400000
      4: rs778009914   1   630224  G  A 0.999746  0.2949 2.7867 0.0382468 0.000254 0.91569997
      5:   rs1972379   1   632317  G  A 0.999271  0.3242 1.5002 0.0814979 0.000729 0.82889992
     ---                                                                                     
2005582:   rs9616974  22 50779526  G  A 0.927690 -0.0207 0.0766 0.1038050 0.072310 0.78739926
2005583:   rs9616832  22 50780959  T  C 0.927610 -0.0103 0.0767 0.0488568 0.072390 0.89360008
2005584:   rs9616978  22 50781891  C  G 0.927700 -0.0205 0.0766 0.1030330 0.072300 0.78880018
2005585: rs115055839  22 50783303  T  C 0.927690 -0.0207 0.0766 0.1038050 0.072310 0.78739926
2005586:   rs9616985  22 50791377  T  C 0.927780 -0.0213 0.0766 0.1072380 0.072220 0.78119958
bschilder commented 3 years ago

Yes, also runs fine for me locally. The issue is only on HPC. Just trying to sort out why that is

bschilder commented 3 years ago

I installed it on HPC using conda: https://anaconda.org/bioconda/bioconductor-mungesumstats

But it seems this may be out of date. I'll try updating from within R

Al-Murphy commented 3 years ago

Yeah that would be old now I guess! It will be up-to-date come the middle of the month when bioc 3.14 goes live but yeah I think just install it from GitHub in R for now!

Let me know if that works!

bschilder commented 3 years ago

Based on the SessionInfo in my first post, looks like I was using MungeSumstats v1.1.14 .

I just upgraded to the latest using devtools::install_github("neurogenomics/MungeSumstats") and tried running with "finn-a-G6_ALZHEIMER". I also updated all its dependencies. However the issue persists.

Can you try replicating on HPC?

Current session info:

``` r$> sessioninfo::session_info() ─ Session info ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── setting value version R version 4.1.1 (2021-08-10) os CentOS Linux 7 (Core) system x86_64, linux-gnu ui X11 language (EN) collate en_GB.UTF-8 ctype en_GB.UTF-8 tz Europe/London date 2021-10-02 ─ Packages ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── package * version date lib source AnnotationDbi 1.54.1 2021-06-08 [1] Bioconductor assertthat 0.2.1 2019-03-21 [1] CRAN (R 4.1.0) Biobase 2.52.0 2021-05-19 [1] Bioconductor BiocFileCache 2.0.0 2021-05-19 [1] Bioconductor BiocGenerics 0.38.0 2021-05-19 [1] Bioconductor BiocIO 1.2.0 2021-05-19 [1] Bioconductor BiocParallel 1.26.2 2021-08-22 [1] Bioconductor biomaRt 2.48.3 2021-08-15 [1] Bioconductor Biostrings 2.60.2 2021-08-05 [1] Bioconductor bit 4.0.4 2020-08-04 [1] CRAN (R 4.1.0) bit64 4.0.5 2020-08-30 [1] CRAN (R 4.1.0) bitops 1.0-7 2021-04-24 [1] CRAN (R 4.1.0) blob 1.2.2 2021-07-23 [1] CRAN (R 4.1.0) BSgenome 1.60.0 2021-05-19 [1] Bioconductor cachem 1.0.6 2021-08-19 [1] CRAN (R 4.1.1) cli 3.0.1 2021-07-17 [1] CRAN (R 4.1.0) crayon 1.4.1 2021-02-08 [1] CRAN (R 4.1.0) curl 4.3.2 2021-06-23 [1] CRAN (R 4.1.0) data.table 1.14.2 2021-09-27 [1] CRAN (R 4.1.1) DBI 1.1.1 2021-01-15 [1] CRAN (R 4.1.0) dbplyr 2.1.1 2021-04-06 [1] CRAN (R 4.1.0) DelayedArray 0.18.0 2021-05-19 [1] Bioconductor digest 0.6.28 2021-09-23 [1] CRAN (R 4.1.1) dplyr 1.0.7 2021-06-18 [1] CRAN (R 4.1.0) ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.1.0) fansi 0.5.0 2021-05-25 [1] CRAN (R 4.1.1) fastmap 1.1.0 2021-01-25 [1] CRAN (R 4.1.0) filelock 1.0.2 2018-10-05 [1] CRAN (R 4.1.0) fs 1.5.0 2020-07-31 [1] CRAN (R 4.1.0) gargle 1.2.0 2021-07-02 [1] CRAN (R 4.1.0) generics 0.1.0 2020-10-31 [1] CRAN (R 4.1.0) GenomeInfoDb 1.28.4 2021-09-05 [1] Bioconductor GenomeInfoDbData 1.2.6 2021-08-18 [1] Bioconductor GenomicAlignments 1.28.0 2021-05-19 [1] Bioconductor GenomicFeatures 1.44.2 2021-08-26 [1] Bioconductor GenomicRanges 1.44.0 2021-05-19 [1] Bioconductor glue 1.4.2 2020-08-27 [1] CRAN (R 4.1.0) googleAuthR 1.4.0 2021-04-02 [1] CRAN (R 4.1.1) hms 1.1.1 2021-09-26 [1] CRAN (R 4.1.1) httr 1.4.2 2020-07-20 [1] CRAN (R 4.1.0) IRanges 2.26.0 2021-05-19 [1] Bioconductor jsonlite 1.7.2 2020-12-09 [1] CRAN (R 4.1.0) KEGGREST 1.32.0 2021-05-19 [1] Bioconductor lattice 0.20-45 2021-09-22 [1] CRAN (R 4.1.1) lifecycle 1.0.1 2021-09-24 [1] CRAN (R 4.1.1) magrittr 2.0.1 2020-11-17 [1] CRAN (R 4.1.0) Matrix 1.3-4 2021-06-01 [1] CRAN (R 4.1.0) MatrixGenerics 1.4.3 2021-08-26 [1] Bioconductor matrixStats 0.61.0 2021-09-17 [1] CRAN (R 4.1.1) memoise 2.0.0 2021-01-26 [1] CRAN (R 4.1.0) MungeSumstats * 1.1.26 2021-10-02 [1] Github (neurogenomics/MungeSumstats@495317f) pillar 1.6.3 2021-09-26 [1] CRAN (R 4.1.1) pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.1.0) png 0.1-7 2013-12-03 [1] CRAN (R 4.1.0) prettyunits 1.1.1 2020-01-24 [1] CRAN (R 4.1.0) progress 1.2.2 2019-05-16 [1] CRAN (R 4.1.0) purrr 0.3.4 2020-04-17 [1] CRAN (R 4.1.0) R.methodsS3 1.8.1 2020-08-26 [1] CRAN (R 4.1.1) R.oo 1.24.0 2020-08-26 [1] CRAN (R 4.1.1) R.utils 2.11.0 2021-09-26 [1] CRAN (R 4.1.1) R6 2.5.1 2021-08-19 [1] CRAN (R 4.1.1) rappdirs 0.3.3 2021-01-31 [1] CRAN (R 4.1.0) Rcpp 1.0.7 2021-07-07 [1] CRAN (R 4.1.0) RCurl 1.98-1.5 2021-09-17 [1] CRAN (R 4.1.1) restfulr 0.0.13 2017-08-06 [1] CRAN (R 4.1.0) rjson 0.2.20 2018-06-08 [1] CRAN (R 4.1.0) rlang 0.4.11 2021-04-30 [1] CRAN (R 4.1.0) Rsamtools 2.8.0 2021-05-19 [1] Bioconductor RSQLite 2.2.8 2021-08-21 [1] CRAN (R 4.1.1) rstudioapi 0.13 2020-11-12 [1] CRAN (R 4.1.0) rtracklayer 1.52.1 2021-08-15 [1] Bioconductor S4Vectors 0.30.1 2021-09-26 [1] Bioconductor sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 4.1.0) stringi 1.7.4 2021-08-25 [1] CRAN (R 4.1.1) stringr 1.4.0 2019-02-10 [1] CRAN (R 4.1.0) SummarizedExperiment 1.22.0 2021-05-19 [1] Bioconductor tibble 3.1.5 2021-09-30 [1] CRAN (R 4.1.1) tidyselect 1.1.1 2021-04-30 [1] CRAN (R 4.1.0) utf8 1.2.2 2021-07-24 [1] CRAN (R 4.1.0) VariantAnnotation 1.38.0 2021-05-19 [1] Bioconductor vctrs 0.3.8 2021-04-29 [1] CRAN (R 4.1.0) withr 2.4.2 2021-04-18 [1] CRAN (R 4.1.0) XML 3.99-0.8 2021-09-17 [1] CRAN (R 4.1.1) xml2 1.3.2 2020-04-23 [1] CRAN (R 4.1.0) XVector 0.32.0 2021-05-19 [1] Bioconductor yaml 2.2.1 2020-02-01 [1] CRAN (R 4.1.0) zlibbioc 1.38.0 2021-05-19 [1] Bioconductor [1] /rds/general/user/bms20/home/anaconda3/envs/ewce_suite/lib/R/library ```
bschilder commented 3 years ago

I've identified at least one issue (unsure yet if it's related). Looks like some things were changed in check_save_path. Currently, this part will give the incorrect file suffix (.tsv) when the selected format is supposed to be .tsv.gz, because the grep function doesn't include any modifiers indicating that the suffix is at the end of the string.

https://github.com/neurogenomics/MungeSumstats/blob/495317fb823077178837a30319f9dfed7884ac1e/R/check_save_path.R#L61

I'm correcting this with the following:

suffix_match <-
            vapply(suffixes, function(x) {
                grepl(paste0("*",x,"$"), tolower(save_path),
                    ignore.case = TRUE
                )
            },
            FUN.VALUE = logical(1) )
bschilder commented 3 years ago

I think that was unrelated, but I think I've also found the relevant bug.

Within validate_parameters:

https://github.com/neurogenomics/MungeSumstats/blob/495317fb823077178837a30319f9dfed7884ac1e/R/validate_parameters.R#L79

Looks like you have some code to handle the possibility of ref_genome being NULL in earlier lines (!is.null(convert_ref_genome) && ...), but that seems to be missing that here. So logical(0) is returned which throws the missing value where TRUE/FALSE needed error.

I would use the following solution with any():

if (any(toupper(ref_genome) == "GRCH37") &&
        !requireNamespace("SNPlocs.Hsapiens.dbSNP144.GRCh37", quietly = TRUE)) {
          stop(GRCH37_msg1)
      }

Might be worth combing through your code and making sure there's no other instances where this can happen.

bschilder commented 3 years ago

All fixes now implemented in: https://github.com/neurogenomics/MungeSumstats/tree/bschilder_dev

bschilder commented 3 years ago

I've confirmed that the bschilder_dev branch does indeed solve the problem on HPC. Also confirmed that this branch passes all CRAN and Bioc checks, with the exception of the weird Warning about version release numbers:

r$> BiocCheck::BiocCheck()                                                                                               
This is BiocCheck version 1.28.0. BiocCheck is a work in progress. Output and severity of issues may
change. Installing package...
API: public: http://gwas-api.mrcieu.ac.uk/
* Checking Package Dependencies...
* Checking if other packages can import this one...
* Checking to see if we understand object initialization...
* Checking for deprecated package usage...
* Checking for remote package usage...
* Checking for 'LazyData: true' usage...
* Checking version number...
* Checking version number validity...
    * WARNING: y of x.y.z version should be even in release
* Checking R Version dependency...
* Checking package size...
        Skipped... only checked on source tarball
* Checking individual file sizes...
* Checking biocViews...
* Checking that biocViews are present...
* Checking package type based on biocViews...
    Software
* Checking for non-trivial biocViews...
* Checking that biocViews come from the same category...
* Checking biocViews validity...
* Checking for recommended biocViews...
* Checking build system compatibility...
* Checking for blank lines in DESCRIPTION...
* Checking if DESCRIPTION is well formatted...
* Checking for proper Description: field...
* Checking for whitespace in DESCRIPTION field names...
* Checking that Package field matches directory/tarball name...
* Checking for Version field...
* Checking for valid maintainer...
* Checking License: for restrictive use...
* Checking DESCRIPTION/NAMESPACE consistency...
* Checking .Rbuildignore...
* Checking vignette directory...
* Checking library calls...
* Checking for library/require of MungeSumstats...
* Checking coding practice...
* Checking parsed R code in R directory, examples, vignettes...
* Checking function lengths......................................................................................
    * NOTE: Recommended function length <= 50 lines.
      There are 29 functions > 50 lines.
      The longest 5 functions are:
        format_sumstats() (R/format_sumstats.R, line 164): 713 lines
        check_no_rs_snp() (R/check_no_rs_snp.R, line 17): 312 lines
        validate_parameters() (R/validate_parameters.R, line 6): 268 lines
        read_vcf() (R/read_vcf.R, line 18): 219 lines
        find_sumstats() (R/find_sumstats.R, line 64): 187 lines
* Checking man page documentation...
* Checking package NEWS...
* Checking unit tests...
* Checking skip_on_bioc() in tests...
* Checking formatting of DESCRIPTION, NAMESPACE, man pages, R source, and vignette source...
    * NOTE: Consider shorter lines; 218 lines (2%) are > 80 characters long.
    First 6 lines:
      R/check_allele_flip.R:28                               allele_flip_check, allele_flip_drop, allele_flip_z,
      R/check_allele_flip.R:34     # https://github.com/GenomicSEM/GenomicSEM/blob/fc8f17a817a8022d6900acf41824d27b367...
      R/check_chr.R:47                 name <- get_unique_name_log_file(name = name, log_files = log_files)
      R/check_col_order.R:39                 setdiff(seq_len(length(col_headers)), c(whichSNP, whichCHR, whichBP))
      R/check_dup_bp.R:30                 name <- get_unique_name_log_file(name = name, log_files = log_files)
      R/check_dup_bp.R:44                     paste0(check_save_out$log_folder, "/", name, check_save_out$extension)
    * NOTE: Consider multiples of 4 spaces for line indents, 709 lines(7%) are not.
    First 6 lines:
      R/axel.R:14                  output_path,
      R/axel.R:15                  background = FALSE,
      R/axel.R:16                  nThread = 1,
      R/axel.R:17                  force_overwrite = FALSE,
      R/axel.R:18                  quiet = TRUE,
      R/axel.R:19                  alternate = TRUE,
    See http://bioconductor.org/developers/how-to/coding-style/
    See styler package: https://cran.r-project.org/package=styler as described in the BiocCheck vignette.
* Checking if package already exists in CRAN...
* Checking for bioc-devel mailing list subscription...
    * NOTE: Cannot determine whether maintainer is subscribed to the bioc-devel mailing list (requires
      admin credentials).  Subscribe here: https://stat.ethz.ch/mailman/listinfo/bioc-devel
* Checking for support site registration...
    Maintainer is registered at support site.
    Package name is in support site watched tags.

Summary:
ERROR count: 0
WARNING count: 1
NOTE count: 4
For detailed information about these checks, see the BiocCheck vignette, available at
https://bioconductor.org/packages/3.13/bioc/vignettes/BiocCheck/inst/doc/BiocCheck.html#interpreting-bioccheck-output
$error
character(0)

$warning
[1] "y of x.y.z version should be even in release"

$note
[1] "Recommended function length <= 50 lines."                                                                                                                                         
[2] "Consider shorter lines; 218 lines (2%) are > 80 characters long."                                                                                                                 
[3] "Consider multiples of 4 spaces for line indents, 709 lines(7%) are not."                                                                                                          
[4] "Cannot determine whether maintainer is subscribed to the bioc-devel mailing list (requires admin\ncredentials).  Subscribe here: https://stat.ethz.ch/mailman/listinfo/bioc-devel"