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

Getting "isFixedHeight is not defined" error after fresh install of the R package #7

Open
maartenzam opened this issue Nov 20, 2024 · 1 comment

Comments

@maartenzam
Copy link

maartenzam commented Nov 20, 2024

After installing the R package, I get the following error in the RStudio Viewer pane after running the examples from the Creating Flourish graphs in R and Python page:

ERR: Uncaught ReferenceError: isFixedHeight is not defined
URL:http://localhost:14338/session/viewhtml169e2fa3914/lib/flourish-live-binding-1.0.0.3/flourish-live.jsL:89
@zmeers
Copy link
Contributor

zmeers commented Nov 21, 2024


Hey @maartenzam - I've just installed the R package version from GitHub (not CRAN) which is the R package v.1.0.0.1 and it works, so try that.

Installing directly from CRAN shows the same error:

Screenshot 2024-11-21 170146

Installing from GitHub works:

Screenshot 2024-11-21 170529

Apologies, I've just moved on from Canva so am unable to fix the issue myself.


FYI @maxious @luptilu -- it looks like there was a regression from v1.0.0.1 to v1.0.0.3.
v1.0.0.3 was submitted to CRAN and is currently only available in the private repo. The most recent PRs there should let you know what changed.

You can either:
(a) just submit v1.0.0.1 to CRAN by downloading this repo, building the tar ball and submitting that to CRAN - it will overwrite v.1.0.0.3. The person doing this will need to become the R package maintainer to submit to CRAN - not a big deal, just update DESCRIPTION file.

(b) Fix the underlying issue - I'm not sure what that is - and push to NPM. Once this is done the R package should update in the GH private repo on Monday, but the push to CRAN will need to be done manually.

Can walk someone through this process if need be.


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