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

there is no package called 'withr' #278

Closed
MCube78 opened this issue Dec 18, 2018 · 2 comments
Closed

there is no package called 'withr' #278

MCube78 opened this issue Dec 18, 2018 · 2 comments
Assignees

Comments

@MCube78
Copy link

MCube78 commented Dec 18, 2018

  • JASP version: 0.9.2 (this bug was not present in 0.9.1)

  • OS name and version: Windows 10

  • Analysis:
    Attached figure 1: Binary Logistic Regression > Plots display conditional estimates > Show data points
    Attached figure 2: Descriptives-->Jitter elements

  • Bug description: When I try to display individual datapoints on graphs it gives this error (this bug was not present in the 0.9.1 version)
    TEXT from JASP output:
    This analysis terminated unexpectedly.
    Error in loadNamespace(name): there is no package called 'withr'
    Stack trace
    f(...)
    with_seed_null(params$seed, transform_position(data, trans_x, trans_y))
    withr::with_seed
    getExportedValue(pkg, name)
    asNamespace(ns)
    getNamespace(ns)
    tryCatch(loadNamespace(name), error = function(e) stop(e))
    tryCatchList(expr, classes, parentenv, handlers)
    tryCatchOne(expr, names, parentenv, handlers[[1]])
    value[3]
    To receive assistance with this problem, please report the message above at: https://jasp-stats.org/bug-reports

  • Add JASP files as a zip:

  • Screenshot:
    Example 1 (binary logistic)
    jasp_bug

Example 2 (descriptives, boxplot jitter elements)
jasp_bug2

  • Expected behaviour: see individual points on graphs
  • Steps to reproduce:
    Example 1. Go to binary logistic regression > Plots > Display conditional estimates plot > show data points (error happens here -- see figure)
    Example 2. Go to descriptives > select some variable > Plots > Boxplot > Jitter element (error happens here -- see figure)

UPDATE: I re-installed JASP0.9.1 and, on the exact same data set, I am able to plot without an issue individual data points. So this must definitely be something that has changed between 0.9.1 and 0.9.2. I hope this helps solve it.

@FransMeerhoff
Copy link

Hi @MCube78

Thanks for reporting this.
This is indeed an omission in the R framework package list we deliver.
We will solve this asap. As a work-around I've attache a zip file with the missing package.
If you unzip this and copy this to the C:\Program Files\JASP\R\library folder you'r problem will be solved.
withr.zip

Kind regards
Frans Meerhoff

@FransMeerhoff
Copy link

This is solved in the new release 0.9.3

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

2 participants