Skip to content

Releases: MazamaScience/MazamaCoreUtils

0.6.2

05 May 21:23

Choose a tag to compare

MazamaCoreUtils 0.6.2

  • Restore but deprecate the algorithm argument from createLocationID().

0.6.1

05 May 05:44

Choose a tag to compare

MazamaCoreUtils 0.6.1

  • Fixed setIfNull() so that it doesn't ever convert type if the user provides
    a value.
  • Removed the algorithm argument from createLocationID(). Now always using
    geohash.
  • Updated documentation throughout.
  • Added all lubridate functions to timezoneLintRules.
  • Addressed several minor edge cases.

0.6.0

01 Jan 01:56

Choose a tag to compare

MazamaCoreUtils 0.6.0

  • Refactor to use logger rather than futile.logger.
  • Time stamps in log files are now vertically aligned for easier scanning.
  • Additional tests of logging functionality.

0.5.3

04 Dec 22:03
eb59a52

Choose a tag to compare

MazamaCoreUtils 0.5.3

  • The loadDataFile() function now includes a priority argument so that
    either dataUrl or dataDir can be prioritized with the other as a backup
    if initial loading of data fails.

0.5.2

07 Feb 18:49

Choose a tag to compare

MazamaCoreUtils 0.5.2

  • initializeLogging() now creates a WARN.log file to complete the suite of
    TRACE, DEBUG, INFO, WARN and ERROR.

0.5.1

14 Nov 00:14

Choose a tag to compare

MazamaCoreUtils 0.5.1

  • Addressed CRAN check error.
  • Added precision argument to createLocationID().

0.5.0

14 Nov 00:14

Choose a tag to compare

MazamaCoreUtils 0.5.0

  • Updated dependencies to R 4.0.0 and rlang 1.1.0.
  • initializeLogging() now properly uses filePrefix argument.
  • The timeStamp() function now defaults to lubridate::now("UTC") when
    no datetime is provided. This supports common use cases such as:
> timeStamp(unit = "hour")
[1] "2023102618"
> timeStamp(style = "clock")
[1] "2023-10-26T18:25:55"
  • Updated imports from futile.logger to avoid error messages like this:
    WARN [2023-08-29 14:06:58] Oops: object 'flog.appender' not found
  • Added createLocationMask() to identify invalid locations.
  • createLocationID() now defaults to algorithm = "geohash".
  • createLocationID() now returns the user specified invalidID for invalid
    locations rather than stopping with an error message.

0.4.16

29 Aug 21:50

Choose a tag to compare

MazamaCoreUtils 0.4.16

  • Addressed CRAN package documentation issue.

0.4.15

10 Jul 22:19

Choose a tag to compare

MazamaCoreUtils 0.4.15

  • parseDatetime() now supports data formats with UTC offset: "2018-10-16 12:00:00+00:00".

0.4.14

07 Jun 14:40

Choose a tag to compare

MazamaCoreUtils 0.4.14

  • Added algorithm argument to createLocationID() to select between "digest"
    and "geohash".

The "geohash" algorithm is preferred but the "digest" algorithm is retained (and the default) because several existing databases use the "digest" algorithm as a unique identifier.