activatr
Utilities for Parsing and Plotting Activities
Description
This contains helpful functions for parsing, managing, plotting, and visualizing activities, most often from GPX (GPS Exchange Format) files recorded by GPS devices. It allows easy parsing of the source files into standard R data formats, along with functions to compute derived data for the activity, and to plot the activity in a variety of ways.
Downloads
354
Last 30 days
12427th
864
Last 90 days
3.6K
Last year
Trend: +69.4% (30d vs prior 30d)
38
Last 30 days
81
Last 90 days
201
Last year
Trend: +111.1% (30d vs prior 30d)
19
Last 7 days
64
Last 30 days
3
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
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 |
Changelog
Full NEWS →v0.2.1
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
package dependencies
Package required but not available: ‘ggmap’ See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code & tests
Open call graph →Line coverage
100%
Expression
100.0%
Tests / Examples
100.0% / 61% ex
Functions
20 7 exported
Complexity
2.9 avg / 10 max
Call network
20 nodes / 16 edges
Lowest coverage
20 functions| Function | Cyclo | Coverage |
|---|---|---|
| get_ggmap_from_df exp | 1 | 100% |
| localize_to_time_zone exp | 3 | 100% |
| mutate_with_speed exp | 4 | 100% |
| pace_formatter exp | 1 | 100% |
| parse_gpx exp | 9 | 100% |
| parse_tcx exp | 9 | 100% |
Code
Structure
Lines of code
2,497
Files
51
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
7
Internal functions
13
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.72
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
25%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
100%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
4.1.0
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
4
First release
2021-01-15
Latest release
2024-07-27
Avg cadence
340 days
Cold removal rate
–
Dep drift
3
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.