Changelog
Source:NEWS.md
Athlytics 0.1.2
-
CRAN Resubmission: Carefully addressed feedback from CRAN by making detailed updates and modifications for package resubmission. This primarily involved refining examples (e.g., consistently using
\dontrun{}
as advised) and ensuring metadata files meet all CRAN standards.
- Testing: Focused on increasing test coverage towards the goal of 85% across the package. Integrated Codecov for ongoing coverage monitoring.
- Bug Fixes
Athlytics 0.1.1
Core Improvement: Enhanced Reliability & Testing with Simulated Data
This significant update enhances package reliability and ease of use by integrating Athlytics_sample_data
. This enables all examples to run offline and ensures core functionalities have undergone more rigorous, reproducible testing.
Key Changes:
-
Examples & Vignettes: All Roxygen examples and key vignette examples now primarily use
Athlytics_sample_data
for offline execution and clarity. Network-dependent examples are clearly separated in\donttest{}
blocks. -
Test Suite: Fundamentally refactored the test suite to extensively use
Athlytics_sample_data
andmockery
, improving test robustness and parameter coverage. -
Strengthened Package Quality & Compliance: Undertook thorough package validation, leading to key enhancements for overall robustness and adherence to R packaging standards. This involved: ensuring all function examples are correct and reliably executable (notably addressing
strava_oauth(...)
scenarios for offline/testing contexts); providing accurate and refined documentation for data objects inR/data.R
; fixing Roxygen import directives for precise namespace definition; improving help file readability through Rd line width adjustments; and optimizing package data loading by addingLazyData: true
toDESCRIPTION
. - Documentation: Minor improvements to documentation clarity and consistency (e.g., date formatting in plots, explicit naming of data frame arguments in examples).
Athlytics 0.1.0
Major Changes
-
Decoupling Calculation: Switched from
rStrava::get_activity_streams
to direct Strava API calls usinghttr
andjsonlite
for fetching activity streams incalculate_decoupling
. This aims to resolve previous errors but might impact performance and rate limiting.
Bug Fixes & Improvements
- Fixed
calculate_acwr
error (condition has length > 1
) by forcing evaluation before the dplyr pipe. - Corrected
plot_pbs
usage in examples and test scripts to include the requireddistance_meters
argument. - Added missing dependencies (
httr
,jsonlite
) toDESCRIPTION
file. - Improved error handling and messages in several functions.
- Simplified Roxygen documentation for core functions.
- Updated README examples and descriptions for clarity and consistency with code.