Bug fixes

  • Download functions (get_data(), get_transactions(), get_promotions()) now fail gracefully with informative messages when internet resources are unavailable (e.g., network timeout, GitHub unavailability) instead of throwing errors. This complies with CRAN policy for packages using internet resources. Functions now return NULL on failure with clear guidance for users.
  • Fixed typo in vignette issue #17
  • Updated all HTTP URLs to HTTPS to comply with CRAN URL standards
  • Fixed DESCRIPTION file author metadata formatting to resolve discrepancies
  • Removed AppVeyor and TravisCI and added GH Actions workflows

New features

  • Added an internet check with curl::has_internet() and condition handling to provide informative error when downloading online data sets.

Bug fixes

  • Removed ^data$ from .Rbuildignore and only specified ignoring the .rds files. This resolved issue (#14). As a consequence, the package was too large now that the build included the required data sets so I downsampled the transactions_sample and promotions_sample data sets.

New features

  • Add completejourney vignette to demonstrate basic usage (#1)
  • Add a pkgdown site as a web resource for the package (#3)
  • Rename key variables to all be character strings with the column name ending in "id" (#7)
  • Remove confusing or inconsistent data in the demographics and products datasets (#7)
  • Restrict the data to only 2017 to remove some anomalous spending patterns and reduce the overall size of the package (#7)
  • Re-numbered campaign ID to be 1-27 (#12)
  • Created importing capabilities so that large data sets do not need to be included in package (due to size).

Bug fixes

  • NONE