Skip to contents

This function checks for missing R package dependencies listed in the DESCRIPTION file. It installs them one by one, and if any installation fails, the corresponding package is removed from the DESCRIPTION file to prevent errors in future runs.

Usage

install_and_clean_missing_deps()

Value

Invisibly returns TRUE if all dependencies are already installed; otherwise, it updates the DESCRIPTION file.