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 adding multiple dependencies #80

Closed
ChrisWoodsSays opened this issue May 29, 2020 · 1 comment
Closed

Error adding multiple dependencies #80

ChrisWoodsSays opened this issue May 29, 2020 · 1 comment

Comments

@ChrisWoodsSays
Copy link

When I add multiple dependences, I get the error below. Can I check I am adding them in the correct way (in a list and with full URLs)? See here for more info.

r2d3(data = station_readings_simple, script = "bbmapchartr2d3.js",
     dependencies = list("https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js",
                     "https://d19vzq90twjlae.cloudfront.net/leaflet-0.7/leaflet.js",
                     "https://d3js.org/d3.v4.js",
                     "https://cdn.jsdelivr.net/gh/holtzy/D3-graph-gallery@master/LIB/d3-scale-radial.js",
                     "https://cdnjs.cloudflare.com/ajax/libs/d3-tip/0.7.1/d3-tip.min.js",
                     "https://d19vzq90twjlae.cloudfront.net/leaflet-0.7/leaflet.js"))
Uncaught TypeError: data.charCodeAt is not a function
    at simpleHash (127.0.0.1/:1109)
    at R2D3.self.addScript (127.0.0.1/:1120)
    at R2D3.self.widgetRender (127.0.0.1/:1271)
    at Object.renderValue (127.0.0.1/:1844)
    at Object.renderValue (127.0.0.1/:961)
    at 127.0.0.1/:728
    at Array.forEach (<anonymous>)
    at forEach (127.0.0.1/:130)
    at 127.0.0.1/:651
    at Array.forEach (<anonymous>)
@javierluraschi
Copy link
Contributor

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