Bioconductor / sweave2rmd

A project for converting Bioconductor Sweave documents to Rmd
Creative Commons Attribution Share Alike 4.0 International
8 stars 20 forks source link

Sweave2Rmd

Description of the project

Sweave2Rmd is a project to convert all Bioconductor Sweave vignettes to Rmd.

See the project Trello Board for vignettes that need converting and the Github Project for the status of vignettes being converted.

If you'd like to volunteer, see contribute.Rmd.

If you're a Bioconductor maintainer who needs help converting to .Rmd, open an issue in your repository and ask @Bioconductor/sweave2rmd for help converting.

This project follows the Bioconductor Code of Conduct.

Script to categorize vignettes

This is a script that will categorize a list of packages with Sweave vignettes. The vignettes are categorized to determine which vignettes need work on the sweave2rmd project board. The script takes a list of vignettes for a given version of Bioconductor for a given repo with respect to a threshold value provided.

How to use the script

Declare variables and settings

Declare the variables to be used in the script and call the relevant libraries.

How to run the script

Run this command in your terminal Rscript categorize_vignettes.R

The syntax remains same for Windows/MacOS/Linux/Ubuntu.

Note: Open a Terminal from the location of the script for the command to work.

Output of the script

For every package, their rank, priority, and status are computed. This is the output that we want from the script, which will help us categorize the packages.

For vignettes not in the specified version, the rank, priority and action are not computed. Their status is specified as deprecated which helps know which vignettes are no longer maintained or used.

The results from the script are output as an excel file. The desired output is an excel file because it will be easy to use, export and also share.