-
Notifications
You must be signed in to change notification settings - Fork 136
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
could not find function "navbar_proj" #124
Comments
I tried a different approach without I created a project where the root is |
If you clone this repo and re-create the key settings shown in the screenshot below you should be able to host an instance of radiant on shinyapps.io. FYI I just verified this is still working by updating to: https://vnijs.shinyapps.io/radiant |
Thanks, @vnijs. I updated the files and tried to deploy again. No luck though. I got the error about the file paths again. I tried with two different root directories: my equivalent of your To deploy, I'm running the app (works fine) and then hitting republish with my account details. Am I doing something wrong with the working directory or publishing? |
When I publish to shinyapps.io I open the radiant Rstudio project file and don't mess with the working directory. I'd recommend you create a new clone of the original repo and trying again. If that works, you can try to change things as you wish |
@ericpgreen I just noticed you are an educator. If you are considering using radiant for a class I'd recommend either (1) having students install on their laptops (see link below), (2) using Rstudio server, or (3) using Rstudio Cloud. Most instructors using radiant that I know of have students install radiant on laptops. We have done this a lot by now and so the install instructions (linked below), including the all-in-one-installer for windows, work quite smoothly. On a class of 100 there are usually no more than 2-3 that get stuck on something. Let me know if you have any more questions. |
Thanks, @vnijs. I cloned the repo again and used the existing It did work when I changed line 5 in However, I'm getting a deploy error:
Ever experience this? I've contacted shinyapps.io support. |
The latest release of DiagrammeR had a breaking change so please use the below on your local system before deploying to the shinyapps.io. This won't be necessary anymore once the fixed version of DiagrammeR is on CRAN
|
Thanks, @vnijs. That worked. In summary, I learned to "run app" rather than Excited to explore. |
Thanks for the update @ericpgreen! I don't think you actually need either "run app" or "source". When I open ui.R in Rstudio, it already shows the button to (re) publish. I also just pushed an update to global.R that I expect will resolve the need to edit global.R. If you could do a "git pull" on the repo and try to republish to shinyapps.io when you have a moment that would be great. BTW Did you run the "for.shinyapps.io.R" file before publishing? |
Good tip, thanks. I've mostly worked with flexdashboard before this, so helpful to know how to re-publish. I cloned the repo again, but I got the same path error so I had to edit the I did run |
Hmmm. I'll try this from another machine and see what I can do about the |
Really great work with radiant. It's impressive. |
Thanks :) Are you thinking of using Radiant for a class? |
I am attempting to deploy to shinyapps.io. When I source
inst/app/ui.R
, I get the errorcould not find function "navbar_proj"
The text was updated successfully, but these errors were encountered: