carlganz / rintrojs

Wrapper for the Intro.js library
http://rintrojs.carlganz.com/
GNU Affero General Public License v3.0
133 stars 11 forks source link

Not loaded on shinyapps.io #21

Closed georgemirandajr closed 7 years ago

georgemirandajr commented 7 years ago

The introBox functions work fine when I run them from R Studio and view my app in the browser. However, I see that once it is loaded on shinyapps.io there is an error (see below) from shinyapps that says it cannot find introjsUI(), even though "rintrojs" is called in my app along with other packages.

ERROR: could not find function "introjsUI"

Should it work fine with shinyapps.io?

carlganz commented 7 years ago

Just a guess but does your UI file include library(rintrojs)?

Sent from my iPhone

On Apr 26, 2017, at 5:05 PM, George Miranda notifications@github.com wrote:

The introBox functions work fine when I run them from R Studio and view my app in the browser. However, I see that once it is loaded on shinyapps.io there is an error (see below) from shinyapps that says it cannot find introjsUI(), even though "rintrojs" is called in my app along with other packages.

ERROR: could not find function "introjsUI"

Should it work fine with shinyapps.io?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

georgemirandajr commented 7 years ago

How embarrassing. The other packages I use in the app are called with require(), which has worked fine for me. When I use library() shinyapps picks up that package and all is well in the world.