Skip to contents

Install from CRAN

Install the acro package from CRAN as follows:

Development Version

To install the development version from GitHub:

# Install devtools if you haven't already
install.packages("devtools")

# Install ACRO-R from GitHub
devtools::install_github("AI-SDC/ACRO-R")

Prerequisites

ACRO-R requires: - R version 4.0 or higher - Python 3.10+ or higher with the ACRO Python package installed

Python ACRO Installation

The R package interfaces with the Python ACRO library. Install it using:

pip install acro

Troubleshooting

If you are having problems installing the package, please see the more detailed installation guide or check the GitHub issues.

Verification

To verify your installation works correctly:

library("acro")
acro_init(suppress = TRUE)

If this runs without errors, your installation is successful!