You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the File organisation section doesn't have much info on actually organizing functions besides:
I recommend putting large functions (and any smaller helper functions that they need) into their own R/{function-name}.R file.
You might want to collect smaller, simpler, functions into one place. I often use R/utils.R for this, but if they’re primarily used in your ui you might use R/ui.R.
... assuming that one does not want to make a full-fledged package.
Questions that an shiny app developer might have:
Should I use source() to source the code from the *.R files in the R/ directory?
Can I have nested subdirectories in R/?
If using nested subdirectories, do I need to add files similar to __init__.py in python?
The text was updated successfully, but these errors were encountered:
the File organisation section doesn't have much info on actually organizing functions besides:
... assuming that one does not want to make a full-fledged package.
Questions that an shiny app developer might have:
source()
to source the code from the*.R
files in theR/
directory?R/
?__init__.py
in python?The text was updated successfully, but these errors were encountered: