Skip to contents

The goal of {misc.debris} is to provide a “catch-all” R package that holds utility functions commonly used in by me.

Installation

You can install the development version of {misc.debris} like so:

o <- options() # capture default options

options(pkg.build_vignettes = TRUE)

if (!require("pak")) {
  install.packages("pak",
    repos = sprintf(
      "https://r-lib.github.io/p/pak/stable/%s/%s/%s",
      .Platform$pkgType, R.Version()$os, R.Version()$arch
    )
  )
}

pak::pkg_install("git::https://codeberg.org/adamhsparks/misc.debris.git")

options(o)

Functions Included

#> check_date_seq          Check Dates for Sequentialness and Completeness
#> check_oz_lonlat         Check User Provided Longitude and Latitude
#>                         Values for Validity
#> create_climograph       Creates a Climograph of Weather data From Data
#>                         Available Via weatherOz
#> get_weather_list        Get a List of Data Frame Objects of Weather
#>                         Data From DPIRD and SILO APIs
#> mode                    Arithmetic Mode
#> rle2                    Count Consecutive Sequences of Events