Skip to content

SwimmeR

Data Import, Cleaning, and Conversions for Swimming Results

v0.14.2 · Mar 24, 2023 · MIT + file LICENSE

Description

The goal of the 'SwimmeR' package is to provide means of acquiring, and then analyzing, data from swimming (and diving) competitions. To that end 'SwimmeR' allows results to be read in from .html sources, like 'Hy-Tek' real time results pages, '.pdf' files, 'ISL' results, 'Omega' results, and (on a development basis) '.hy3' files. Once read in, 'SwimmeR' can convert swimming times (performances) between the computationally useful format of seconds reported to the '100ths' place (e.g. 95.37), and the conventional reporting format (1:35.37) used in the swimming community. 'SwimmeR' can also score meets in a variety of formats with user defined point values, convert times between courses ('LCM', 'SCM', 'SCY') and draw single elimination brackets, as well as providing a suite of tools for working cleaning swimming data. This is a developmental package, not yet mature.

Downloads

CRAN

406

Last 30 days

10662nd

1K

Last 90 days

4K

Last year

Trend: +29.7% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

43

Last 90 days

156

Last year

Trend: -100% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

whether package can be installed

Installation failed.
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/SwimmeR.Rcheck/00install.out’ for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

30,029

Files

230

Compiled share

0%

Has compiled src

No

Language breakdown

R 15,665 (52.2%)Tests 10,485 (34.9%)Docs 3,542 (11.8%)Vignettes 337 (1.1%)

API

Exported functions

29

Internal functions

55

Recent export changes

v0.9.0+2 correct_split_distance, discard_errors
v0.8.0+2 age_format, name_reorder

Testing & CI

Has tests

Yes

Test-to-code ratio

0.67

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

30%

Roxygen coverage

89.7%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

16

First release

2019-10-10

Latest release

2023-03-24

Avg cadence

44 days

Cold removal rate

100%

Dep drift

10

LOC over versions

v0.1.0.0: 499 LOCv0.2.0: 2,060 LOCv0.3.0: 2,663 LOCv0.3.1: 2,660 LOCv0.4.1: 4,781 LOCv0.4.2: 4,784 LOCv0.5.0: 5,278 LOCv0.6.0: 6,638 LOCv0.7.2: 8,999 LOCv0.8.0: 9,439 LOCv0.9.0: 9,695 LOCv0.10.0: 10,466 LOCv0.11.0: 12,473 LOCv0.12.0: 20,628 LOCv0.13.0: 24,868 LOCv0.14.2: 30,029 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies purrr dplyr stringr rvest pdftools magrittr xml2 readr SwimmeR

Version History

17 tracked
new 0.14.2 Mar 10, 2026
updated 0.14.2 ← 0.13.0 diff Mar 23, 2023
updated 0.13.0 ← 0.12.0 diff Nov 4, 2021
updated 0.12.0 ← 0.11.0 diff Aug 13, 2021
updated 0.11.0 ← 0.10.0 diff Jul 15, 2021
updated 0.10.0 ← 0.9.0 diff Jun 1, 2021
updated 0.9.0 ← 0.8.0 diff Apr 18, 2021
updated 0.8.0 ← 0.7.2 diff Mar 19, 2021
updated 0.7.2 ← 0.6.0 diff Jan 12, 2021
updated 0.6.0 ← 0.5.0 diff Nov 21, 2020
updated 0.5.0 ← 0.4.2 diff Oct 18, 2020
updated 0.4.2 ← 0.4.1 diff Sep 16, 2020
updated 0.4.1 ← 0.3.1 diff Aug 27, 2020
updated 0.3.1 ← 0.3.0 diff Jul 10, 2020
updated 0.3.0 ← 0.2.0 diff Jul 9, 2020