Installing the CLI
Prerequisites
- Install Git: https://git-scm.com/downloads.
- Install R (v4.5.0 recommended): https://www.r-project.org/.
- Install Pandoc: https://pandoc.org/.
Verify that the installations were successful by executing the following commands in a shell:
git --version
R --version
pandoc --version
Note for Windows Users
You may need to add Git, R and Pandoc to your PATH
to run them from the command line.
The default paths for Git, R and Pandoc are:
C:\Program Files\Git\bin
C:\Program Files\R\R-4.5.0\bin
C:\Program Files\Pandoc
To update your PATH
, edit your system environment variables from the settings menu.
Instructions
First, install the FFA Framework R package. For details, see the R package installation guide.
Step-by-Step Guide
- Open a shell (terminal) and navigate to the directory where you want to install the framework.
-
Clone the GitHub FFA Framework repository by running the following command in a shell:
git clone https://github.com/rileywheadon/ffa-framework.git
-
Navigate to the
ffa-framework
directory (e.g.,cd ffa-framework
). This directory contains arenv.lock
file, which is used to manage R package dependencies. - Launch a command prompt with R. The
renv
package may install itself automatically. If it does not, runinstall.packages("renv")
to install it manually. - Load libraries from the
renv.lock
file by executingrenv::restore()
. - Install the FFA Framework R package using
devtools.install("path/to/ffa-package")
. You will need to replace"path/to/ffa-package"
with the actual path to the package directory. - Exit the command prompt with
q()
.
This guide has been tested on Linux, Windows, and MacOS.
Please submit a Github Issue if you have any problems.