Title: | Convert Volumes To Units Of Uncleaned Herring |
---|---|
Description: | Convert a supplied volume measurement to 'crans': 'a unit of measure of landed uncleaned herring used in the North Sea fishing industry' <https://en.wikipedia.org/wiki/Cran_(unit)>. |
Authors: | Matt Dray [aut, cre] |
Maintainer: | Matt Dray <[email protected]> |
License: | CC0 |
Version: | 0.0.0.9001 |
Built: | 2024-10-31 03:03:13 UTC |
Source: | https://github.com/matt-dray/cran |
Converts a supplied volume measurement to crans.
cran_convert(value, unit)
cran_convert(value, unit)
value |
Numeric. The value of the measurement to convert from. |
unit |
Character. The unit of the measurement to convert from. Must be
a recognised volume unit as per |
An object of class units
.
## Not run: # 170.5 L is 1 cran cran_convert(170.5, "L") ## End(Not run)
## Not run: # 170.5 L is 1 cran cran_convert(170.5, "L") ## End(Not run)
Create the cran measurement unit. Asks for user input. Runs on startup.
cran_install()
cran_install()
Nothing.
Remove the cran measurement unit. Asks for user input.
cran_remove()
cran_remove()
Nothing.