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 runExample() #8

Closed
Rhoboot opened this issue Apr 2, 2018 · 2 comments
Closed

error runExample() #8

Rhoboot opened this issue Apr 2, 2018 · 2 comments
Labels

Comments

@Rhoboot
Copy link

Rhoboot commented Apr 2, 2018

Hello Jasmine:

I have tried to execute the example, but it gives me an error

shinyLP :: runExample ()

ERROR: unused argument (list_item("User Updates", badge_value = 24))

apparently the list_group function allows only one element

list_group(list_item("Application Updates", badge_value = 27),list_item("User Updates", badge_value = 24))

regards

@jasdumas
Copy link
Owner

jasdumas commented Apr 3, 2018

Hi, try wrapping your list groups with a div() like this:

list_group(div(list_item("Application Updates", badge_value = 27),list_item("User Updates", badge_value = 24)))

ahh sorry, thats my mistake for having development functions in my playground environment. 🤷‍♀️ I will push an update to GitHub soon.

@Rhoboot
Copy link
Author

Rhoboot commented Apr 3, 2018

Excellent thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants