Closed oldi closed 5 years ago
Hi @oldi, thanks for trying out ggpval. Could you provide your sessionInfo()
result? I'm mainly interested in your R version, ggpval version and ggplot version.
Here is the session for me that everything works fine:
R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Scientific Linux 7.7 (Nitrogen)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] ggplot2_3.1.1 data.table_1.12.2 ggpval_0.2.2
loaded via a namespace (and not attached):
[1] Rcpp_1.0.1 pillar_1.4.0 compiler_3.5.1 plyr_1.8.4 prettyunits_1.0.2 remotes_2.0.4
[7] tools_3.5.1 testthat_2.1.1 digest_0.6.19 packrat_0.5.0 pkgbuild_1.0.3 pkgload_1.0.2
[13] memoise_1.1.0 tibble_2.1.1 gtable_0.3.0 pkgconfig_2.0.2 rlang_0.3.4 cli_1.1.0
[19] rstudioapi_0.10 curl_3.3 withr_2.1.2 dplyr_0.8.1 fs_1.3.1 desc_1.2.0
[25] devtools_2.0.2 rprojroot_1.3-2 grid_3.5.1 tidyselect_0.2.5 glue_1.3.1 R6_2.4.0
[31] processx_3.3.1 sessioninfo_1.1.1 purrr_0.3.2 callr_3.2.0 magrittr_1.5 usethis_1.5.0
[37] scales_1.0.0 backports_1.1.4 ps_1.3.0 assertthat_0.2.1 colorspace_1.4-1 labeling_0.3
[43] lazyeval_0.2.2 munsell_0.5.0 crayon_1.3.4
Hi! Thank you for your quick response. I hope you can find the bug.
Here is the output of my sessioninfo()
sessionInfo() R version 3.6.1 (2019-07-05) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale: [1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252
[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C
[5] LC_TIME=German_Germany.1252attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] ggpval_0.2.2 forcats_0.4.0 stringr_1.4.0 dplyr_0.8.3 purrr_0.3.2
[6] readr_1.3.1 tidyr_0.8.3 tibble_2.1.3 ggplot2_3.2.0 tidyverse_1.2.1loaded via a namespace (and not attached): [1] Rcpp_1.0.2 cellranger_1.1.0 pillar_1.4.2 compiler_3.6.1 tools_3.6.1
[6] zeallot_0.1.0 jsonlite_1.6 lubridate_1.7.4 gtable_0.3.0 nlme_3.1-140
[11] lattice_0.20-38 pkgconfig_2.0.2 rlang_0.4.0 cli_1.1.0 rstudioapi_0.10
[16] yaml_2.2.0 haven_2.1.1 withr_2.1.2 xml2_1.2.1 httr_1.4.1
[21] generics_0.0.2 vctrs_0.2.0 hms_0.5.0 grid_3.6.1 tidyselect_0.2.5 [26] data.table_1.12.2 glue_1.3.1 R6_2.4.0 fansi_0.4.0 readxl_1.3.1
[31] modelr_0.1.5 magrittr_1.5 backports_1.1.4 scales_1.0.0 rvest_0.3.4
[36] assertthat_0.2.1 colorspace_1.4-1 labeling_0.3 utf8_1.1.4 stringi_1.4.3
[41] lazyeval_0.2.2 munsell_0.5.0 broom_0.5.2 crayon_1.3.4
Thanks a lot for reporting this bug. It is now fixed and I have updated the github version. The CRAN version will be updated for the next one or two days. For now you can update with the github version with devtools. e.g. remove.packages('ggpval'); devtools::install_github("s6juncheng/ggpval")
Hello, I am getting the same error as original poster when I run this function.
sessionInfo() R version 4.0.5 (2021-03-31) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19042)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages: [1] stats graphics grDevices utils datasets [6] methods base
other attached packages:
[1] table1_1.3 kableExtra_1.3.4 readxl_1.3.1
[4] forcats_0.5.1 stringr_1.4.0 dplyr_1.0.7
[7] purrr_0.3.4 readr_1.4.0 tidyr_1.1.3
[10] tibble_3.1.0 ggplot2_3.3.5 tidyverse_1.3.0
[13] ggpval_0.2.4
I had this issue too with version 2.4 and made a quick fix for that. It also allows to use FC and stars at the same time. Here is a copy/paste version to include directly in a script:
@Ganthark Thanks for making a fix! Could you include your fix in a pull request?
@s6juncheng I just did it, it should hopefully be good enough to implement.
When I run pval_star on your example data set (actually on any data set), it throws up the error: