Time Utilities

Functions for working with datetimes

dateRange()

Create a POSIXct date range

timeRange()

Create a POSIXct time range

parseDatetime()

Parse datetime strings

Logging Utilities

Logging utilities for MazamaScience projects

initializeLogging()

Initialize standard log files

FATAL

Log levels

logger.debug()

Python-style logging statements

logger.error()

Python-style logging statements

logger.fatal()

Python-style logging statements

logger.info()

Python-style logging statements

logger.setLevel()

Set console log level

logger.setup()

Set up python-style logging

logger.trace()

Python-style logging statements

logger.warn()

Python-style logging statements

Linting Utilities

Linting utilites for internal MazamaScience development

lintFunctionArgs_file() lintFunctionArgs_dir()

Lint a source file's function arguments

timezoneLintRules

Rules for timezone linting.

Package Checking Utilities

Wrapper functions to run devtools::check() with arguments

check() check_fast() check_faster() check_fastest() check_slow() check_slower() check_slowest()

Run package checks

Working with NULL values

Convenience functions for working with NULL values

setIfNull()

Set a variable to a default value if it is NULL

stopIfNull()

Stop if an object is NULL

Other Utilites

manageCache()

Manage the size of a cache

stopOnError()

Error message translator