From fe5985a24adf5db473c28c9e0eaf0528aa5ce6c7 Mon Sep 17 00:00:00 2001 From: David Blodgett Date: Thu, 9 Nov 2023 18:17:02 -0600 Subject: [PATCH 1/2] fixes #24 --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 53fd9c2..7890043 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -13,7 +13,7 @@ Description: The 'FIT' (Flexible and Interoperable Data Transfer) devices. This package allows reading 'FIT' files in pure R without any dependence on external software or SDKs. URL: https://github.com/grimbough/FITfileR -Depends: R (>= 3.5.0) +Depends: R (>= 4.1) Imports: dplyr, tibble, magrittr, methods, bit64 Suggests: knitr, rmarkdown, From 619726af4c6bdf5d567a1ebafadbd0df44e8a8f9 Mon Sep 17 00:00:00 2001 From: David Blodgett Date: Thu, 9 Nov 2023 18:24:04 -0600 Subject: [PATCH 2/2] fix status badge --- README.Rmd | 8 +++++++- README.md | 18 +++++++++++------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/README.Rmd b/README.Rmd index 73190fd..cfff942 100644 --- a/README.Rmd +++ b/README.Rmd @@ -1,7 +1,13 @@ +--- +output: github_document +--- + + + # FITfileR `r badger::badge_custom("dev version", as.character(packageVersion("FITfileR")), "blue", "https://github.com/grimbough/FITfileR")` -[![R CMD check](https://github.com/grimbough/FITfileR/workflows/R-CMD-check/badge.svg)](https://github.com/grimbough/FITfileR/actions) +[![R-CMD-check](https://github.com/grimbough/FITfileR/actions/workflows/main.yml/badge.svg)](https://github.com/grimbough/FITfileR/actions/workflows/main.yml) [![codecov](https://codecov.io/github/grimbough/FITfileR/branch/fit-class/graphs/badge.svg)](https://codecov.io/github/grimbough/FITfileR) **FITfileR** is an R package to read FIT files produced by fitness tracking devices like cycling computers or sports watches. The intention for **FITfileR** is to use native R code to read the files directly, with no reliance on the FIT SDK or other FIT parsing tools. As such it should be platform independent, and not require any additional software outside of a working version of R. diff --git a/README.md b/README.md index a076ce9..602c960 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ + + + # FITfileR -[![](https://img.shields.io/badge/dev%20version-0.1.7-blue.svg)](https://github.com/grimbough/FITfileR) -[![R CMD -check](https://github.com/grimbough/FITfileR/workflows/R-CMD-check/badge.svg)](https://github.com/grimbough/FITfileR/actions) +[![](https://img.shields.io/badge/dev%20version-0.1.8-blue.svg)](https://github.com/grimbough/FITfileR) +[![R-CMD-check](https://github.com/grimbough/FITfileR/actions/workflows/main.yml/badge.svg)](https://github.com/grimbough/FITfileR/actions/workflows/main.yml) [![codecov](https://codecov.io/github/grimbough/FITfileR/branch/fit-class/graphs/badge.svg)](https://codecov.io/github/grimbough/FITfileR) **FITfileR** is an R package to read FIT files produced by fitness @@ -25,10 +27,12 @@ Currently **FITfileR** is only available on Github, and can be installed using the **[remotes](https://cran.r-project.org/package=remotes) package.** - if(!requireNamespace("remotes")) { - install.packages("remotes") - } - remotes::install_github("grimbough/FITfileR") +``` r +if(!requireNamespace("remotes")) { + install.packages("remotes") +} +remotes::install_github("grimbough/FITfileR") +``` # Usage