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

Error when trying to load a regionDB #46

Open
HanneHjorthaug opened this issue May 24, 2023 · 0 comments
Open

Error when trying to load a regionDB #46

HanneHjorthaug opened this issue May 24, 2023 · 0 comments

Comments

@HanneHjorthaug
Copy link

HanneHjorthaug commented May 24, 2023

Hi,

I would very much like to use LOLA, but I can't get the LOLACore db to load into R. I've tried both the cache and the ordinary db, but they both stop loading with error "Error in .combine_DFrame_rows(x, objects, strict.colnames = FALSE) : the objects to combine must be DFrame objects or derivatives". The same ting happens if I try to load the example db in your gettingStared-vignette:

library("LOLA")
dbPath = system.file("extdata", "hg19", package="LOLA")
regionDB = loadRegionDB(dbPath)
Reading collection annotations:
ucsc_example: found collection annotation:C:/Users/HH/Documents/R/win-library/4.1/LOLA/extdata/hg19/ucsc_example/collection.txt
Reading region annotations...
::Loading cache:: C:/Users/HH/Documents/R/win-library/4.1/LOLA/extdata/hg19/ucsc_example//ucsc_example_files.RData
ucsc_example
::Creating cache:: C:/Users/HH/Documents/R/win-library/4.1/LOLA/extdata/hg19/ucsc_example/ucsc_example.RData
Reading 5 files...
1: C:/Users/HH/Documents/R/win-library/4.1/LOLA/extdata/hg19/ucsc_example/regions/cpgIslandExt.bed
1 ERR:C:/Users/HH/Documents/R/win-library/4.1/LOLA/extdata/hg19/ucsc_example/regions/cpgIslandExt.bed
Error in .combine_DFrame_rows(x, objects, strict.colnames = FALSE) :
the objects to combine must be DFrame objects or derivatives
In addition: Warning message:
In dir.create(cacheDir, recursive = TRUE) :
'C:\Users\HH\Documents\R\win-library\4.1\LOLA\extdata\hg19\ucsc_example' already exists

sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)

Matrix products: default

locale:
[1] LC_COLLATE=Norwegian Bokmål_Norway.1252 LC_CTYPE=Norwegian Bokmål_Norway.1252 LC_MONETARY=Norwegian Bokmål_Norway.1252 LC_NUMERIC=C
[5] LC_TIME=Norwegian Bokmål_Norway.1252

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

other attached packages:
[1] LOLA_1.19.1

loaded via a namespace (and not attached):
[1] xfun_0.30 remotes_2.4.2 reshape2_1.4.4 purrr_1.0.1 vctrs_0.5.2 miniUI_0.1.1.1 usethis_2.1.6
[8] htmltools_0.5.2 stats4_4.1.2 yaml_2.2.1 rlang_1.0.6 pkgbuild_1.3.1 urlchecker_1.0.1 later_1.2.0
[15] glue_1.6.2 withr_2.5.0 BiocGenerics_0.40.0 sessioninfo_1.2.2 plyr_1.8.6 GenomeInfoDbData_1.2.7 lifecycle_1.0.3
[22] zlibbioc_1.36.0 stringr_1.5.0 devtools_2.4.4 htmlwidgets_1.5.4 memoise_2.0.1 evaluate_0.16 knitr_1.40
[29] callr_3.7.2 IRanges_2.28.0 fastmap_1.1.0 httpuv_1.6.1 ps_1.7.1 GenomeInfoDb_1.30.1 curl_4.3.2
[36] simpleCache_0.4.2 Rcpp_1.0.7 xtable_1.8-4 promises_1.2.0.1 cachem_1.0.6 writexl_1.4.2 S4Vectors_0.32.3
[43] pkgload_1.3.0 XVector_0.30.0 mime_0.10 fs_1.5.2 digest_0.6.27 stringi_1.5.3 processx_3.7.0
[50] shiny_1.7.2 GenomicRanges_1.42.0 cli_3.4.1 tools_4.1.2 bitops_1.0-7 magrittr_2.0.1 RCurl_1.98-1.3
[57] profvis_0.3.7 crayon_1.5.2 ellipsis_0.3.2 data.table_1.14.0 prettyunits_1.1.1 rmarkdown_2.16 rstudioapi_0.14
[64] R6_2.5.1 compiler_4.1.2

Do you have any suggestions as to how this problem can be solved?.
For the record, I am using Windows.

Kind regards,
Hanne

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