Installing and Running the Research Strategy App
Note: To open links in a new tab, use Ctrl+Click (Windows/Linux) or Cmd+Click (macOS).
To run the application, you'll need to clone or download the source code and install dependencies.
1. Prerequisites
1.1 R and RStudio
- Install R (version 4.0 or newer recommended).
- (Optional but recommended) Install RStudio. This provides a more user-friendly interface.
1.2 Git or GitHub Desktop
- You can either:
- Use GitHub Desktop, or
-
Use Git from the command line (installed by Git for Windows or via Homebrew on macOS).
-
You can download the source code from this GitHub repository: https://github.com/Founders-Pledge-Research-Team/ResearchStrategy.
2. Installation Method
- Clone or download the repository:
- Using GitHub Desktop:
- Open GitHub Desktop
- Go to "File" → "Clone a repository from the Internet..."
- Select the ResearchStrategy repository
- Choose where to save it locally
- Click "Clone"
- Using Command Line:
-
Or simply click "Code" → "Download ZIP" on the GitHub webpage and extract the folder.
-
Open R (or RStudio) in the downloaded/cloned folder:
-
In RStudio, open the
ResearchStrategy.Rprojfile or the folder containing the app code. -
Install dependencies using renv:
-
Restart R session:
-
In RStudio, go to "Session" → "Restart R" to ensure all changes take effect.
-
Run the Shiny app:
3. Keeping the App Up to Date
To ensure you're running the latest version of the app:
- Using GitHub Desktop:
- Open GitHub Desktop
- Select the ResearchStrategy repository
- Click the "Fetch origin" button at the top
-
If updates are available, click "Pull origin"
-
Using RStudio:
- Go to the "Git" tab in the upper-right panel
- Click the "Pull" button (blue downward arrow)
-
If there are conflicts, RStudio will notify you
-
Using Command Line:
After pulling updates, you simply need to rebuild the package and re-run the app. You can do so by running the following commands in the R console: