error in evaluating the argument 'i' in selecting a method for function '[': 'match' requires vector arguments
Here is the full console output when running from within my R package.
You can see that the error occurs right after BiocGenerics
gets attached.
Querying 1 samples.
Query: GSM4703766
Using build: hg19
Determining available file types.
Setting options('download.file.method.GEOquery'='auto')
Setting options('GEOquery.inmemory.gpl'=FALSE)
1 supplementary file(s) found:
- GSM4703766_GAWSU510-A549-H3K4me3-ChIP-rep2_AGTCAA_GAWSU510_CKDL200157349-1a-13_HC3LFBBXX_L2_PE_R1-2.fastq.sam_noDup_RPBM.bedgraph.gz
Computing peaks from bedGraph file.
Importing chromosomes: chr6
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories'
for details
replacement repositories:
CRAN: https://cran.rstudio.com/
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
anyDuplicated, append, as.data.frame, basename, cbind, colnames, dirname,
do.call, duplicated, eval, evalq, Filter, Find, get, grep, grepl,
intersect, is.unsorted, lapply, Map, mapply, match, mget, order, paste,
pmax, pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce, rownames,
sapply, setdiff, sort, table, tapply, union, unique, unsplit, which.max,
which.min
Attaching package: 'S4Vectors'
The following objects are masked from 'package:base':
expand.grid, I, unname
Attaching package: 'Biostrings'
The following object is masked from 'package:base':
strsplit
The masked version of 'hg19' is not installed. Using the unmasked version. This means that no automatic masking will be available.
+ Selecting available chromosomes.
error in evaluating the argument 'i' in selecting a method for function '[': 'match' requires vector argumentsSaving results ==> /var/folders/zq/h7mtybc533b1qzkys_ttgpth0000gn/T//RtmpdxqwBu/file832c2b34218grl.hg38.rds