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

placement of app.R #620

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions scaling-packages.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ If you want to deploy your app to RStudio Connect or Shiny[^scaling-packages-1]
myApp()
```

This file calling `load_all()` **may not** be placed under the package's `R` directory - this would result in an
infinite loop when loading! The root directory of the package is the right place.
(You can see other techniques at <https://engineering-shiny.org/deploy.html>).

- Normally when you deploy an app, the rsconnect package automatically figures out all of the packages your code uses.
Expand Down