As I am starting to develop more complicated and varied r projects, I am increasingly needing to have a strategy to reuse code across project types (and projects) such as:
- interactive one-off projects that use common code like standard dplyr datasets for exploration and rapid protoyping
- shiny apps
- markdown style apps
I am interested in how people approach this situation when a package is not quite the right approach. Specifically, how do you organize your code files shared amongst a group of projects (for example a client with multiple project types) to maximize reuse, yet still allow for manageable sourcing etc. Again, I looking for the situation where a package is not quite the right approach.
I tend to have quite modular files so often have quite a few files for each project.