Failed to Install the broom Dependency
Symptom
An error message similar to "ERROR: dependencies 'stringr', 'ggplot2' are not available for package 'broom'" is reported.

Key Process and Cause Analysis
During the MWASTools installation process, the sub-dependencies stringr and ggplot2 of the broom dependency fail to be installed due to network timeout or mismatch between the dependency version and Bioconductor.
Conclusion and Solution
Method 1: Run the BiocManager::install("stringr") and BiocManager::install("ggplot2") commands to preferentially install the sub-dependencies stringr and ggplot2. After installing the two sub-dependencies, run the BiocManager::install("broom") command to install the broom dependency.
Method 2: If the installation still fails, manually install the sub-dependencies from their source code. For example, obtain the source code address of stringr based on the error message. Then download the source code of stringr to the server and run the R CMD INSTALL xxxxx.tar.gz command to install stringr.