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 in prepare_venn_data when use this packages #8

Closed
tiramisutes opened this issue Jun 22, 2020 · 16 comments
Closed

Error in prepare_venn_data when use this packages #8

tiramisutes opened this issue Jun 22, 2020 · 16 comments

Comments

@tiramisutes
Copy link

Hi,
I get follows error when use this packages to plot a veen figure.

> list(A=1:3,B=3:6) %>%
+     ggvenn(show_elements=TRUE)
Using `n` as weighting variable
i Quiet this message with `wt = n` or count rows with `wt = 1`
Error in prepare_venn_data(data, columns, show_elements, show_percentage) : 
  (d1 %>% count(A, B) %>% with(n)) == 1 are not all TRUE
@KerstenBreuer
Copy link

Here, too, any fixes?

@KerstenBreuer
Copy link

Unfortunately, I am even getting this error when running the example:

d <- tibble(value   = c(1,     2,     3,     5,     6,     7,     8,     9,     10,    12,    13),
            `Set 1` = c(TRUE,  FALSE, TRUE,  TRUE,  FALSE, TRUE,  FALSE, TRUE,  FALSE, FALSE, FALSE),
            `Set 2` = c(TRUE,  FALSE, FALSE, TRUE,  FALSE, FALSE, FALSE, TRUE,  FALSE, FALSE, TRUE),
            `Set 3` = c(TRUE,  TRUE,  FALSE, FALSE, FALSE, FALSE, TRUE,  TRUE,  FALSE, FALSE, FALSE),
            `Set 4` = c(FALSE, FALSE, FALSE, FALSE, TRUE,  TRUE,  FALSE, FALSE, TRUE,  TRUE,  FALSE))

# ggplot gramma
ggplot(d) +
  geom_venn(aes(A = `Set 1`, B = `Set 2`)) +
  coord_fixed() +
  theme_void()

@kotliary
Copy link

Same problem. My previously working code returns the same error. Seems like some bug was introduced with an update.

@kotliary
Copy link

v0.1.0 works.
Install with devtools::install_github("yanlinlin82/ggvenn@v0.1.0").

@yanlinlin82
Copy link
Owner

Sorry for the late reply. I can not reproduce the error yet. I guess this error should be something about function masking (maybe the same problem as #7). Would you please upgrade to the latest code by devtools::install_github("yanlinlin82/ggvenn") and try again? If the error still exists, please show me your sessionInfo(), that may help to fix this bug. @tiramisutes @KerstenBreuer @kotliary

@kotliary
Copy link

Upgraded ggvenn to the latest version, run example and have the same error.

> library(ggvenn)
> ?ggvenn
> a <- list(`Set 1` = c(1, 3, 5, 7, 9),
+           `Set 2` = c(1, 5, 9, 13),
+           `Set 3` = c(1, 2, 8, 9),
+           `Set 4` = c(6, 7, 10, 12))
> ggvenn(a)
Using `n` as weighting variable
i Quiet this message with `wt = n` or count rows with `wt = 1`
Error in prepare_venn_data(data, columns, show_elements, show_percentage) : 
  (d1 %>% count(A, B, C, D) %>% with(n)) == 1 are not all TRUE

Here is my session info (run under RStudio 1.2.1335):

R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    

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

other attached packages:
[1] ggvenn_0.1.3  ggplot2_3.3.2 dplyr_1.0.0  

loaded via a namespace (and not attached):
 [1] compiler_4.0.2    pillar_1.4.6      prettyunits_1.1.1 remotes_2.2.0     tools_4.0.2       testthat_2.3.2   
 [7] digest_0.6.25     pkgbuild_1.1.0    pkgload_1.1.0     gtable_0.3.0      memoise_1.1.0     lifecycle_0.2.0  
[13] tibble_3.0.3      pkgconfig_2.0.3   rlang_0.4.7       cli_2.0.2         rstudioapi_0.11   curl_4.3         
[19] withr_2.2.0       desc_1.2.0        generics_0.0.2    fs_1.4.2          vctrs_0.3.2       devtools_2.3.1   
[25] rprojroot_1.3-2   tidyselect_1.1.0  glue_1.4.1        R6_2.4.1          processx_3.4.3    fansi_0.4.1      
[31] sessioninfo_1.1.1 callr_3.4.3       purrr_0.3.4       magrittr_1.5      scales_1.1.1      backports_1.1.8  
[37] ps_1.3.3          ellipsis_0.3.1    usethis_1.6.1     assertthat_0.2.1  colorspace_1.4-1  munsell_0.5.0    
[43] crayon_1.3.4 

@yanlinlin82
Copy link
Owner

@kotliary Thank you very much for testing and reporting! Your sessionInfo() helped me to reproduce and fix the problem. Function count() in dplyr_1.0.0 required 'wt = 1', but not in dplyr_1.0.1, which I was using. I fixed the issue and released a new version (v0.1.4). You may upgrade to it.

@kotliary
Copy link

Works great! Thank you! And good to know about the count() behavior.

@paschalis-fluro
Copy link

Hi, I am getting this error using the v0.1.9. Here is my sessionInfo

session_info()
─ Session info ──────────────────────────────────────────────────────────────────
setting value
version R version 4.1.2 (2021-11-01)
os Ubuntu 20.04.3 LTS
system x86_64, linux-gnu
ui RStudio
language (EN)
collate C.UTF-8
ctype C.UTF-8
tz UTC
date 2022-02-22
rstudio 2021.09.2+382.pro1 Ghost Orchid (server)
pandoc NA

─ Packages ──────────────────────────────────────────────────────────────────────
package * version date (UTC) lib source
brio 1.1.3 2021-11-30 [1] RSPM (R 4.1.0)
cachem 1.0.6 2021-08-19 [1] RSPM (R 4.1.0)
callr 3.7.0 2021-04-20 [1] RSPM (R 4.1.0)
cli 3.2.0 2022-02-14 [1] RSPM (R 4.1.0)
colorspace 2.0-2 2021-06-24 [1] RSPM (R 4.1.0)
crayon 1.5.0 2022-02-14 [1] RSPM (R 4.1.0)
curl 4.3.2 2021-06-23 [1] RSPM (R 4.1.0)
desc 1.4.0 2021-09-28 [1] RSPM (R 4.1.0)
devtools * 2.4.3 2021-11-30 [1] RSPM (R 4.1.0)
dplyr * 1.0.8 2022-02-08 [1] RSPM (R 4.1.0)
ellipsis 0.3.2 2021-04-29 [1] RSPM (R 4.1.0)
fansi 1.0.2 2022-01-14 [1] RSPM (R 4.1.0)
fastmap 1.1.0 2021-01-25 [1] RSPM (R 4.1.0)
fs 1.5.2 2021-12-08 [1] RSPM (R 4.1.0)
generics 0.1.2 2022-01-31 [1] RSPM (R 4.1.0)
ggplot2 * 3.3.5 2021-06-25 [1] RSPM (R 4.1.0)
ggvenn * 0.1.9 2022-02-22 [1] Github (b7ff54b)
glue 1.6.1 2022-01-22 [1] RSPM (R 4.1.0)
gtable 0.3.0 2019-03-25 [1] RSPM (R 4.1.0)
lifecycle 1.0.1 2021-09-24 [1] RSPM (R 4.1.0)
magrittr 2.0.2 2022-01-26 [1] RSPM (R 4.1.0)
memoise 2.0.1 2021-11-26 [1] RSPM (R 4.1.0)
munsell 0.5.0 2018-06-12 [1] RSPM (R 4.1.0)
pillar 1.7.0 2022-02-01 [1] RSPM (R 4.1.0)
pkgbuild 1.3.1 2021-12-20 [1] RSPM (R 4.1.0)
pkgconfig 2.0.3 2019-09-22 [1] RSPM (R 4.1.0)
pkgload 1.2.4 2021-11-30 [1] RSPM (R 4.1.0)
prettyunits 1.1.1 2020-01-24 [1] RSPM (R 4.1.0)
processx 3.5.2 2021-04-30 [1] RSPM (R 4.1.0)
ps 1.6.0 2021-02-28 [1] RSPM (R 4.1.0)
purrr 0.3.4 2020-04-17 [1] RSPM (R 4.1.0)
R6 2.5.1 2021-08-19 [1] RSPM (R 4.1.0)
remotes 2.4.2 2021-11-30 [1] RSPM (R 4.1.0)
rlang 1.0.1 2022-02-03 [1] RSPM (R 4.1.0)
rprojroot 2.0.2 2020-11-15 [1] RSPM (R 4.1.0)
rstudioapi 0.13 2020-11-12 [1] RSPM (R 4.1.0)
scales 1.1.1 2020-05-11 [1] RSPM (R 4.1.0)
sessioninfo 1.2.2 2021-12-06 [1] RSPM (R 4.1.0)
testthat 3.1.2 2022-01-20 [1] RSPM (R 4.1.0)
tibble 3.1.6 2021-11-07 [1] RSPM (R 4.1.0)
tidyselect 1.1.1 2021-04-30 [1] RSPM (R 4.1.0)
usethis * 2.1.5 2021-12-09 [1] RSPM (R 4.1.0)
utf8 1.2.2 2021-07-24 [1] RSPM (R 4.1.0)
vctrs 0.3.8 2021-04-29 [1] RSPM (R 4.1.0)
withr 2.4.3 2021-11-30 [1] RSPM (R 4.1.0)

[1] /cloud/lib/x86_64-pc-linux-gnu-library/4.1
[2] /opt/R/4.1.2/lib/R/library

@yanlinlin82
Copy link
Owner

@paschalis-lw Thanks for reporting this. Could you please show me your code? And would you try it in a new environment, such as like this:

$ R --vanilla  # try start a new empty environment
> library(ggvenn)
> ... # other code for plotting

I guess there should be some conflicts again. We could find it out together.

@paschalis-fluro
Copy link

paschalis-fluro commented Feb 23, 2022

Hi,

I think I managed to resolve this in the end, but thank you very much anyway.
I am now having a different problem which I will address in a separate issue.

Best,
Paschalis

@cjieming2
Copy link

Hi I am getting a sinilar issue using v1.0.9. My sessionInfo:

sessionInfo()
R Under development (unstable) (2022-02-23 r81801)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.5 LTS

Matrix products: default
BLAS: /usr/local/lib/R/lib/libRblas.so
LAPACK: /usr/local/lib/R/lib/libRlapack.so

locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=C LC_COLLATE=C LC_MONETARY=C LC_MESSAGES=C LC_PAPER=C
[8] LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=C LC_IDENTIFICATION=C

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

other attached packages:
[1] ggvenn_0.1.9 ggVennDiagram_1.2.0 GSEABase_1.57.0 OmnipathR_3.3.25 org.Hs.eg.db_3.15.0
[6] igis_0.7.09 rtracklayer_1.55.4 DBI_1.1.2 EnsemblRest_1.5.4 GenomicRanges_1.47.6
[11] sucHeatMap_0.8.1 multcomp_1.4-18 TH.data_1.1-0 MASS_7.3-57 survival_3.3-1
[16] mvtnorm_1.1-3 Rgraphviz_2.39.1 genefilter_1.77.1 annotate_1.73.0 XML_3.99-0.9
[21] GO.db_3.15.0 mhcBindingPrediction_0.7.1 RColorBrewer_1.1-3 vip_0.3.2 caret_6.0-92
[26] lattice_0.20-45 GOstats_2.61.0 graph_1.73.0 Category_2.61.0 Matrix_1.4-0
[31] AnnotationDbi_1.57.1 Biobase_2.55.2 yaml_2.3.5 Biostrings_2.63.3 GenomeInfoDb_1.31.10
[36] XVector_0.35.0 IRanges_2.29.1 S4Vectors_0.33.17 BiocGenerics_0.41.2 VennDiagram_1.7.3
[41] futile.logger_1.4.3 readxl_1.4.0 stringr_1.4.0 ggrepel_0.9.1 ggplot2_3.3.5
[46] tidyr_1.2.0 plyr_1.8.7 dplyr_1.0.8

loaded via a namespace (and not attached):
[1] utf8_1.2.2 tidyselect_1.1.2 RSQLite_2.2.12 BiocParallel_1.29.21 pROC_1.18.0
[6] munsell_0.5.0 codetools_0.2-18 future_1.25.0 withr_2.5.0 colorspace_2.0-3
[11] filelock_1.0.2 logger_0.2.2 knitr_1.38 rstudioapi_0.13 listenv_0.8.0
[16] labeling_0.4.2 MatrixGenerics_1.7.0 GenomeInfoDbData_1.2.8 farver_2.1.0 bit64_4.0.5
[21] parallelly_1.31.1 vctrs_0.4.1 generics_0.1.2 lambda.r_1.2.4 ipred_0.9-12
[26] xfun_0.30 BiocFileCache_2.3.5 R6_2.5.1 RVenn_1.1.0 bitops_1.0-7
[31] cachem_1.0.6 reshape_0.8.9 DelayedArray_0.21.2 assertthat_0.2.1 winch_0.0.8
[36] BiocIO_1.5.0 scales_1.2.0 nnet_7.3-17 gtable_0.3.0 globals_0.14.0
[41] sandwich_3.0-1 timeDate_3043.102 rlang_1.0.2 splines_4.2.0 ModelMetrics_1.2.2.2
[46] checkmate_2.1.0 reshape2_1.4.4 GenomicFeatures_1.47.14 backports_1.4.1 RMySQL_0.10.23
[51] RBGL_1.71.0 tools_4.2.0 lava_1.6.10 ellipsis_0.3.2 gplots_3.1.3
[56] Rcpp_1.0.8.3 progress_1.2.2 zlibbioc_1.41.0 purrr_0.3.4 RCurl_1.98-1.6
[61] prettyunits_1.1.1 rpart_4.1.16 zoo_1.8-10 SummarizedExperiment_1.27.1 magrittr_2.0.3
[66] data.table_1.14.2 futile.options_1.0.1 matrixStats_0.62.0 hms_1.1.1 evaluate_0.15
[71] xtable_1.8-4 httpRequest_0.0.11 gridExtra_2.3 compiler_4.2.0 biomaRt_2.51.4
[76] tibble_3.1.6 KernSmooth_2.23-20 crayon_1.5.0 htmltools_0.5.2 later_1.3.0
[81] tzdb_0.3.0 lubridate_1.8.0 formatR_1.12 dbplyr_2.1.1 rappdirs_0.3.3
[86] readr_2.1.2 cli_3.3.0 parallel_4.2.0 gower_1.0.0 igraph_1.3.1
[91] pkgconfig_2.0.3 flashClust_1.01-2 GenomicAlignments_1.31.2 recipes_0.2.0 xml2_1.3.3
[96] foreach_1.5.2 hardhat_0.2.0 AnnotationForge_1.37.5 prodlim_2019.11.13 digest_0.6.29
[101] rmarkdown_2.14 cellranger_1.1.0 restfulr_0.0.13 curl_4.3.2 Rsamtools_2.11.0
[106] gtools_3.9.2 rjson_0.2.21 lifecycle_1.0.1 nlme_3.1-157 jsonlite_1.8.0
[111] fansi_1.0.3 pillar_1.7.0 GGally_2.1.2 KEGGREST_1.35.0 fastmap_1.1.0
[116] httr_1.4.2 glue_1.6.2 png_0.1-7 iterators_1.0.14 bit_4.0.4
[121] class_7.3-20 stringi_1.7.6 blob_1.2.3 caTools_1.18.2 memoise_2.0.1
[126] future.apply_1.9.0

@yanlinlin82
Copy link
Owner

@cjieming2 Thank you for reporting. I just added a new branch for testing, would you please help to try it?

devtools::install_github("yanlinlin82/ggvenn@try-solve-count", force = TRUE)
detach("package:ggvenn", unload = TRUE)
library(ggvenn)

I called dplyr::count() with the package name explicitly to avoid conflict with other packages. If this solves your problem, I will merge the fixing branch to the main branch and release a new version.

@cjieming2
Copy link

Hi @yanlinlin82 , I think I was able to resolve it after many attempts. Sorry for making you go to the trouble adding the explicit package-calling - that should be good for any situations, so hopefully it wont be in vain :) Thank you so much for the help!

@kibet-gilbert
Copy link

Hi @yanlinlin82, I am also running into this error. First the test data in Quick Start works well. My data (vennPltData.rds.txt) is quite similar but results in this error:

Error in prepare_venn_data(data, sets, show_elements, show_percentage,  : 
  is.logical(as_tibble(data)[, columns[[1]], drop = TRUE]) is not TRUE

(PS: The input file is a .rds, the .txt is added purposely so as to attach it here and can be read with readRDS())

My code:

vennPltData <- readRDS(file = "./vennPltData.rds.txt")
set <- c(colnames(vennPltData)[2:length(colnames(vennPltData))])
ggplot(vennPltData) +
  geom_venn(aes(A = set[1], B = set[2], C = set[3], D = set[4] )) +
  coord_fixed() +
  theme_void()

sessionINFO:

> session_info()
─ Session info ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 setting  value
 version  R version 4.2.2 Patched (2022-11-10 r83330)
 os       Ubuntu 22.04.1 LTS
 system   x86_64, linux-gnu
 ui       RStudio
 language (EN)
 collate  en_US.UTF-8
 ctype    en_US.UTF-8
 tz       Africa/Nairobi
 date     2022-11-15
 rstudio  2022.07.0+548 Spotted Wakerobin (desktop)
 pandoc   NA

─ Packages ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 ! package        * version date (UTC) lib source
   assertthat       0.2.1   2019-03-21 [1] CRAN (R 4.2.1)
   backports        1.4.1   2021-12-13 [1] CRAN (R 4.2.1)
   BiocManager      1.30.18 2022-05-18 [1] CRAN (R 4.2.1)
   broom            1.0.1   2022-08-29 [1] CRAN (R 4.2.1)
   cachem           1.0.6   2021-08-19 [1] CRAN (R 4.2.1)
   callr            3.7.2   2022-08-22 [1] CRAN (R 4.2.1)
   cellranger       1.1.0   2016-07-27 [1] CRAN (R 4.2.1)
   cli              3.4.1   2022-09-23 [1] CRAN (R 4.2.1)
   colorspace       2.1-0   2022-06-03 [1] R-Forge (R 4.2.1)
   crayon           1.5.2   2022-09-29 [1] CRAN (R 4.2.1)
   curl             4.3.3   2022-10-06 [1] CRAN (R 4.2.1)
   DBI              1.1.3   2022-06-18 [1] CRAN (R 4.2.1)
   dbplyr           2.2.1   2022-06-27 [1] CRAN (R 4.2.1)
   devtools       * 2.4.5   2022-10-11 [1] CRAN (R 4.2.2)
   digest           0.6.30  2022-10-18 [1] CRAN (R 4.2.1)
   dplyr          * 1.0.10  2022-09-01 [1] CRAN (R 4.2.1)
   ellipsis         0.3.2   2021-04-29 [1] CRAN (R 4.2.1)
   fansi            1.0.3   2022-03-24 [1] CRAN (R 4.2.1)
   farver           2.1.1   2022-07-06 [1] CRAN (R 4.2.1)
   fastmap          1.1.0   2021-01-25 [1] CRAN (R 4.2.1)
   forcats        * 0.5.2   2022-08-19 [1] CRAN (R 4.2.1)
   fs               1.5.2   2021-12-08 [1] CRAN (R 4.2.1)
   gargle           1.2.1   2022-09-08 [1] CRAN (R 4.2.1)
   generics         0.1.3   2022-07-05 [1] CRAN (R 4.2.1)
 V ggplot2        * 3.3.6   2022-11-04 [1] CRAN (R 4.2.2) (on disk 3.4.0)
   ggvenn         * 0.1.9   2022-11-15 [1] Github (yanlinlin82/ggvenn@8fa3d3b)
   ggVennDiagram  * 1.2.2   2022-09-08 [1] CRAN (R 4.2.2)
   glue             1.6.2   2022-02-24 [1] CRAN (R 4.2.1)
   googledrive      2.0.0   2021-07-08 [1] CRAN (R 4.2.1)
   googlesheets4    1.0.1   2022-08-13 [1] CRAN (R 4.2.1)
   gtable           0.3.1   2022-09-01 [1] CRAN (R 4.2.1)
   haven            2.5.1   2022-08-22 [1] CRAN (R 4.2.1)
   hms              1.1.2   2022-08-19 [1] CRAN (R 4.2.1)
   htmltools        0.5.3   2022-07-18 [1] CRAN (R 4.2.1)
   htmlwidgets      1.5.4   2021-09-08 [1] CRAN (R 4.2.1)
   httpuv           1.6.6   2022-09-08 [1] CRAN (R 4.2.1)
   httr             1.4.4   2022-08-17 [1] CRAN (R 4.2.1)
   igraph         * 1.3.5   2022-09-22 [1] CRAN (R 4.2.1)
   jsonlite         1.8.3   2022-10-21 [1] CRAN (R 4.2.1)
   labeling         0.4.2   2020-10-20 [1] CRAN (R 4.2.1)
   later            1.3.0   2021-08-18 [1] CRAN (R 4.2.1)
   lifecycle        1.0.3   2022-10-07 [1] CRAN (R 4.2.1)
   lubridate        1.8.0   2021-10-07 [1] CRAN (R 4.2.1)
   magrittr       * 2.0.3   2022-03-30 [1] CRAN (R 4.2.1)
   memoise          2.0.1   2021-11-26 [1] CRAN (R 4.2.1)
   mime             0.12    2021-09-28 [1] CRAN (R 4.2.1)
   miniUI           0.1.1.1 2018-05-18 [1] CRAN (R 4.2.1)
   modelr           0.1.9   2022-08-19 [1] CRAN (R 4.2.1)
   munsell          0.5.0   2018-06-12 [1] CRAN (R 4.2.1)
   pavian           1.2.0   2022-07-18 [1] Github (fbreitwieser/pavian@cd2f217)
   pillar           1.8.1   2022-08-19 [1] CRAN (R 4.2.1)
   pkgbuild         1.3.1   2021-12-20 [1] CRAN (R 4.2.1)
   pkgconfig        2.0.3   2019-09-22 [1] CRAN (R 4.2.1)
   pkgload          1.3.0   2022-06-27 [1] CRAN (R 4.2.1)
   prettyunits      1.1.1   2020-01-24 [1] CRAN (R 4.2.1)
   processx         3.7.0   2022-07-07 [1] CRAN (R 4.2.1)
   profvis          0.3.7   2020-11-02 [1] CRAN (R 4.2.1)
   promises         1.2.0.1 2021-02-11 [1] CRAN (R 4.2.1)
   ps               1.7.1   2022-06-18 [1] CRAN (R 4.2.1)
   purrr          * 0.3.5   2022-10-06 [1] CRAN (R 4.2.1)
   R6               2.5.1   2021-08-19 [1] CRAN (R 4.2.1)
   Rcpp             1.0.9   2022-07-08 [1] CRAN (R 4.2.1)
   readr          * 2.1.3   2022-10-01 [1] CRAN (R 4.2.1)
   readxl           1.4.1   2022-08-17 [1] CRAN (R 4.2.1)
   remotes          2.4.2   2021-11-30 [1] CRAN (R 4.2.1)
   reprex           2.0.2   2022-08-17 [1] CRAN (R 4.2.1)
   rhandsontable    0.3.8   2021-05-27 [1] CRAN (R 4.2.1)
   rlang            1.0.6   2022-09-24 [1] CRAN (R 4.2.1)
   rprojroot        2.0.3   2022-04-02 [1] CRAN (R 4.2.1)
   rstudioapi       0.14    2022-08-22 [1] CRAN (R 4.2.1)
   RVenn            1.1.0   2019-07-18 [1] CRAN (R 4.2.2)
   rvest            1.0.3   2022-08-19 [1] CRAN (R 4.2.1)
   scales           1.2.1   2022-08-20 [1] CRAN (R 4.2.1)
   sessioninfo      1.2.2   2021-12-06 [1] CRAN (R 4.2.1)
   shiny            1.7.2   2022-07-19 [1] CRAN (R 4.2.1)
   shinydashboard   0.7.2   2021-09-30 [1] CRAN (R 4.2.1)
   stringi          1.7.8   2022-07-11 [1] CRAN (R 4.2.1)
   stringr        * 1.4.1   2022-08-20 [1] CRAN (R 4.2.1)
   tibble         * 3.1.8   2022-07-22 [1] CRAN (R 4.2.1)
   tidyr          * 1.2.1   2022-09-08 [1] CRAN (R 4.2.1)
   tidyselect       1.2.0   2022-10-10 [1] CRAN (R 4.2.1)
   tidyverse      * 1.3.2   2022-07-18 [1] CRAN (R 4.2.1)
   tzdb             0.3.0   2022-03-28 [1] CRAN (R 4.2.1)
   urlchecker       1.0.1   2021-11-30 [1] CRAN (R 4.2.1)
   usethis        * 2.1.6   2022-05-25 [1] CRAN (R 4.2.1)
   utf8             1.2.2   2021-07-24 [1] CRAN (R 4.2.1)
   vctrs            0.5.0   2022-10-22 [1] CRAN (R 4.2.1)
   viridisLite      0.4.1   2022-08-22 [1] CRAN (R 4.2.1)
   withr            2.5.0   2022-03-03 [1] CRAN (R 4.2.1)
   xml2           * 1.3.3   2021-11-30 [1] CRAN (R 4.2.1)
   xtable           1.8-4   2019-04-21 [1] CRAN (R 4.2.1)

I have done the installation of ggvenn as you suggested here and still results in same error. Thanks for the great package and hope to get your feedback soon.

@kotliary
Copy link

The issue is you use column names as strings in ggplot. Use aes_string instead of aes.

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

7 participants