Skip to content

Commit

Permalink
Merge pull request #377 from UCD-SERG/codefactor-badge
Browse files Browse the repository at this point in the history
add codefactor badge
  • Loading branch information
d-morrison authored Feb 7, 2025
2 parents b201fe2 + dbe44b3 commit 3059185
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
5 changes: 2 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "serocalculator"
format: gfm
output: github_document
---

<!-- README.md is generated from README.Rmd. Please edit that file -->
Expand All @@ -14,11 +14,10 @@ knitr::opts_chunk$set(
)
```

------------------------------------------------------------------------

<!-- badges: start -->
[![R-CMD-check](https://github.com/UCD-SERG/serocalculator/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/UCD-SERG/serocalculator/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/UCD-SERG/serocalculator/graph/badge.svg)](https://app.codecov.io/gh/UCD-SERG/serocalculator)
[![CodeFactor](https://www.codefactor.io/repository/github/ucd-serg/serocalculator/badge)](https://www.codefactor.io/repository/github/ucd-serg/serocalculator)
<!-- badges: end -->

Antibody levels measured in a cross–sectional population sample can be translated into an estimate of the frequency with which seroconversions (infections) occur in the sampled population.
Expand Down
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# serocalculator

serocalculator
================

<!-- README.md is generated from README.Rmd. Please edit that file -->

------------------------------------------------------------------------

<!-- badges: start -->

[![R-CMD-check](https://github.com/UCD-SERG/serocalculator/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/UCD-SERG/serocalculator/actions/workflows/R-CMD-check.yaml)
[![Codecov test
coverage](https://codecov.io/gh/UCD-SERG/serocalculator/graph/badge.svg)](https://app.codecov.io/gh/UCD-SERG/serocalculator)
[![CodeFactor](https://www.codefactor.io/repository/github/ucd-serg/serocalculator/badge)](https://www.codefactor.io/repository/github/ucd-serg/serocalculator)
<!-- badges: end -->

Antibody levels measured in a cross–sectional population sample can be
Expand Down Expand Up @@ -43,7 +41,7 @@ following the tutorial below from *Hands On Programming in R* by Garrett
Grolemund:

**Installing R and RStudio**:
https://rstudio-education.github.io/hopr/starting.html
<https://rstudio-education.github.io/hopr/starting.html>

## Installing the Serocalculator Package

Expand Down Expand Up @@ -114,15 +112,20 @@ This can be done either:
When prompted to install additional build tools, select “Yes” and Rtools
will be installed.

![Click Yes to install Rtools along with the *devtools*
package](man/figures/Rtools1.png)
<figure>
<img src="man/figures/Rtools1.png"
alt="Click Yes to install Rtools along with the devtools package" />
<figcaption aria-hidden="true">Click Yes to install Rtools along with
the <em>devtools</em> package</figcaption>
</figure>

**Note: After installing Rtools, you may need to restart RStudio before
continuing to install `serocalculator`.**

##### Independently:

1. Download Rtools from https://cran.r-project.org/bin/windows/Rtools/
1. Download Rtools from
<https://cran.r-project.org/bin/windows/Rtools/>

2. Run the installer

Expand All @@ -146,7 +149,7 @@ reproducible example](https://reprex.tidyverse.org/) on

Another great resource is **The Epidemiologist R Handbook**, which
includes an introductory page on asking for help with R packages via
GitHub: https://epirhandbook.com/en/getting-help.html
GitHub: <https://epirhandbook.com/en/getting-help.html>

## Contributing to this project

Expand All @@ -160,10 +163,9 @@ for more information.
This QR code is a direct link to the latest-release version of the
package website:

<div id="fig-website-QR">

![](man/figures/qr.svg)

Figure 1: QR code for `serocalculator` website

</div>
<figure id="fig-website-QR">
<img src="man/figures/qr.svg"
alt="QR code for serocalculator website" />
<figcaption aria-hidden="true">QR code for <code>serocalculator</code>
website</figcaption>
</figure>

0 comments on commit 3059185

Please sign in to comment.