easystats / see

:art: Visualisation toolbox for beautiful and publication-ready figures
https://easystats.github.io/see/
Other
891 stars 45 forks source link

plotting functions not working #54

Closed bholden7 closed 5 years ago

bholden7 commented 5 years ago

Describe the bug can't reproduce many of the plots from: https://easystats.github.io/see/articles/bayestestR.html, eg, priors = TRUE doesn't work; p_significance not working either, yields: Error in plot.window(...) : need finite 'xlim' values

To Reproduce Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour I expected to be able to reproduce the [see?] plots but cannot

Screenshots

Screen Shot 2019-11-05 at 2 24 31 PM

Specifiations (please complete the following information): everything is 100% up to date

strengejacke commented 5 years ago

I assume you are using the CRAN packages? The plots you see on the website can be reproduced with the latest see version from GitHub. However, a CRAN submission is planned very soon.

bholden7 commented 5 years ago

I used the GitHub version (devtools::install_github("easystats/see”) and still doesn’t work.

Billy Holden, PhD email: billyholden7@gmail.com mobile: 917.515.4227

On Nov 5, 2019, at 2:34 PM, Daniel notifications@github.com wrote:

I assume you are using the CRAN packages? The plots you see on the website can be reproduced with the latest see version from GitHub. However, a CRAN submission is planned very soon.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/easystats/see/issues/54?email_source=notifications&email_token=AKRH37K4ICXLHQGMHNYZROLQSHDFPA5CNFSM4JJHBON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEBOHQ#issuecomment-549984030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRH37LW2BWFBOCQOVSTG6TQSHDFPANCNFSM4JJHBONQ.

strengejacke commented 5 years ago

Can you post your session info?

bholden7 commented 5 years ago

When I run this: install.packages("devtools") devtools::install_github("easystats/see")

library("see”)

I get a message that there is no package called ’see’ (and the CRAN version doesn’t reproduce the plots).

Billy Holden, PhD email: billyholden7@gmail.com mobile: 917.515.4227

On Nov 5, 2019, at 2:34 PM, Daniel notifications@github.com wrote:

I assume you are using the CRAN packages? The plots you see on the website can be reproduced with the latest see version from GitHub. However, a CRAN submission is planned very soon.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/easystats/see/issues/54?email_source=notifications&email_token=AKRH37K4ICXLHQGMHNYZROLQSHDFPA5CNFSM4JJHBON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEBOHQ#issuecomment-549984030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRH37LW2BWFBOCQOVSTG6TQSHDFPANCNFSM4JJHBONQ.

bholden7 commented 5 years ago

Billy Holden, PhD email: billyholden7@gmail.com mobile: 917.515.4227

On Nov 5, 2019, at 2:42 PM, Daniel notifications@github.com wrote:

Can you post your session info?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/easystats/see/issues/54?email_source=notifications&email_token=AKRH37ORFIZR6CRLMEXPT4TQSHEC3A5CNFSM4JJHBON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDECHAA#issuecomment-549987200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRH37PMTEYLZRFQPTJEEV3QSHEC3ANCNFSM4JJHBONQ.

DominiqueMakowski commented 5 years ago

Could you try 1) closing R 2) reopening R 3) running devtools::install_github("easystats/see") 4) see if installation finished or 'exited if 0' or something, in which case post the error message here? Thanks!

bholden7 commented 5 years ago

Hi. It appears to install, ie, no messages when finished, only a prompt (>). But when I try library(see) I get the message that there is no package called see:

These are the error messages:

ERROR: dependency ‘effectsize’ is not available for package ‘see’

Billy Holden, PhD email: billyholden7@gmail.com mobile: 917.515.4227

On Nov 5, 2019, at 6:56 PM, Dominique Makowski notifications@github.com wrote:

Could you try 1) closing R 2) reopening R 3) running devtools::install_github("easystats/see") 4) see if installation finished or 'exited if 0' or something, in which case post the error message here? Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/easystats/see/issues/54?email_source=notifications&email_token=AKRH37MH3SN3OFHUEN3KIGLQSIB4JA5CNFSM4JJHBON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEYK3A#issuecomment-550077804, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRH37OUIADA3MNUD7Z6LHTQSIB4JANCNFSM4JJHBONQ.

bholden7 commented 5 years ago

Tried again and got this:

Error: Failed to install 'see' from GitHub: (converted from warning) installation of package ‘/var/folders/66/6yy31gvd2ggdrcmn0v72j0z40000gn/T//RtmpvfuZdz/file3a1dfbafa9/see_0.2.1.1.tar.gz’ had non-zero exit status

Billy Holden, PhD email: billyholden7@gmail.com mobile: 917.515.4227

On Nov 5, 2019, at 6:56 PM, Dominique Makowski notifications@github.com wrote:

Could you try 1) closing R 2) reopening R 3) running devtools::install_github("easystats/see") 4) see if installation finished or 'exited if 0' or something, in which case post the error message here? Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/easystats/see/issues/54?email_source=notifications&email_token=AKRH37MH3SN3OFHUEN3KIGLQSIB4JA5CNFSM4JJHBON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEYK3A#issuecomment-550077804, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRH37OUIADA3MNUD7Z6LHTQSIB4JANCNFSM4JJHBONQ.

strengejacke commented 5 years ago

Sorry for the inconvenience, but some of the packages are undergoing larger revisions and restucturing, that's why you get all these errors.

Due to package dependencies, you may need to install other packages as well. I suggest you install packages step-by-step in the following order:

From CRAN

install.packages("insight")
install.packages("bayestestR")
install.packages("performance")

From GitHub

devtools::install_github("easystats/parameters")
devtools::install_github("easystats/effectsize")
devtools::install_github("easystats/see")

The effectsize package is submitted to, but not yet released on CRAN. see will be updated short afer effectsize is on CRAN. And parameters should also work with the CRAN version, but the GitHub version includes some new features that are also already supported by the see package.

If you have the patience, you could then also install the remaining packages from GitHub:

devtools::install_github("easystats/estimate")
devtools::install_github("easystats/correlation")
devtools::install_github("easystats/report")
devtools::install_github("easystats/easystats")

Once this is done, you can (hopefully) easily load all packages with library(easystats), and update all latest GitHub versions (when you think this is necessary) with easystats::install_easystats_latest().

bholden7 commented 5 years ago

Hi. Thanks for this. Everything loaded (apparently) without problem except, of course (sorry), for library(easystats). This was the error message:

Error: package or namespace load failed for ‘easystats’: .onAttach failed in attachNamespace() for 'easystats', details: call: NULL error: package or namespace load failed for ‘insight’ in get(method, envir = home): lazy-load database '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/insight/R/insight.rdb' is corrupt

Billy Holden, PhD email: billyholden7@gmail.com mobile: 917.515.4227

On Nov 6, 2019, at 9:48 AM, Daniel notifications@github.com wrote:

Sorry for the inconvenience, but some of the packages are undergoing larger revisions and restucturing, that's why you get all these errors.

Due to package dependencies, you may need to install other packages as well. I suggest you install packages step-by-step in the following order:

From CRAN

install.packages("insight") install.packages("bayestestR") install.packages("performance") From GitHub

devtools::install_github("easystats/parameters") devtools::install_github("easystats/effectsize") devtools::install_github("easystats/see") The effectsize package is submitted to, but not yet released on CRAN. see will be updated short afer effectsize is on CRAN. And parameters should also work with the CRAN version, but the GitHub version includes some new features that are also already supported by the see package.

If you have the patience, you could then also install the remaining packages from GitHub:

devtools::install_github("easystats/estimate") devtools::install_github("easystats/correlation") devtools::install_github("easystats/report") devtools::install_github("easystats/easystats") Once this is done, you can (hopefully) easily load all packages with library(easystats), and update all latest GitHub versions (when you think this is necessary) with easystats::install_easystats_latest().

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/easystats/see/issues/54?email_source=notifications&email_token=AKRH37OE4UUPCGNZKHZ6YODQSLKKNA5CNFSM4JJHBON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDGZAPA#issuecomment-550342716, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRH37P5FI4J7R5I7GTXO2LQSLKKNANCNFSM4JJHBONQ.

strengejacke commented 5 years ago

'/Library/Frameworks/R.framework/Versions/3.6/Resources/library/insight/R/insight.rdb' is corrupt

This seems to be a different issue, probably the install from insight failed? Can't say exactly, but I think removing the insight-package and re-installing it might fix this as well...

But does see work now?

bholden7 commented 5 years ago

Exactly correct. I reinstalled insight and did library(easystats) and now (keeping fingers crossed) it works! A pain in the ass but the programs are really great and incredibly useful. Thanks so much for persevering and keep up the fantastic work!

Billy Holden, PhD email: billyholden7@gmail.com mobile: 917.515.4227

On Nov 5, 2019, at 6:56 PM, Dominique Makowski notifications@github.com wrote:

Could you try 1) closing R 2) reopening R 3) running devtools::install_github("easystats/see") 4) see if installation finished or 'exited if 0' or something, in which case post the error message here? Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/easystats/see/issues/54?email_source=notifications&email_token=AKRH37MH3SN3OFHUEN3KIGLQSIB4JA5CNFSM4JJHBON2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEYK3A#issuecomment-550077804, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKRH37OUIADA3MNUD7Z6LHTQSIB4JANCNFSM4JJHBONQ.