There is a newer version of the record available.

Published February 19, 2021 | Version v0.8.0

kwb.utils (v0.8.0): R Package With General Utility Functions Developed at KWB

  • 1. Kompetenzzentrum Wasser Berlin gGmbH

Description

This R package contains some small helper functions that aim at improving the quality of code developed at Kompetenzzentrum Wasser gGmbH (KWB).

Documentation website: https://kwb-r.github.io/kwb.utils/

Changelog:

  • add: matrixToDataFrame()
  • add (private): get_cache_dir(), set_cache_dir()
  • add: readLinesWithEncoding(), moved from fakin.path.app::read_lines()
  • get_cached(): add argument "dbg"; return NULL if file does not exist
  • lastElement(): do not use tail() for lists, use x[[length(x)]] instead
  • orderBy(): allow to order by multiple columns
  • preparePdf(): set paper to "special" if width or height are set
  • readDictionary(): add arguments "fileEncoding", "...", pass on to readLinesWithEncoding()
  • writeDictionary(): check "file" argument. Do not check the file path unless "file" is of class character (and not a connection)

Files

KWB-R/kwb.utils-v0.8.0.zip

Files (313.4 kB)

Name Size Download all
md5:5c815e80fab8587f748d8e5d22a8782e
313.4 kB Preview Download

Additional details

Related works

Is documented by
Software documentation: https://kwb-r.github.io/kwb.pkgbuild (URL)
Is supplement to
Software: https://github.com/KWB-R/kwb.utils/tree/v0.8.0 (URL)