I am using a hyper link that I would like to pass into a shiny action button. I would like to use the "onclick" feature in the action button however, I have multiple parameters that are in my hyperlink which i am unsure how to pass into the action button.
For example here is my current hyper link in shiny that works.
a("Profile",href="https://predicting-alpha.outseta.com/widgets/profile#o-authenticated", id = "profileLink")
I would like to have a shiny button with the above link in the button (no new window opening). Here is what I was thinking but this does not seem to work. Thank you for your time.
actionButton("test", "test", onclick = "https://predicting-alpha.outseta.com/widgets/profile#o-authenticated", id = "profileLink")