libr 1.2.0 2021-06-29

  • Made package compatible to R version 3.6.
  • Added GitHub actions to test previous versions of R.
  • Increased performance of datastep() function generally. Benchmarks show about 40% improvement on average.
  • Added standard_eval parameter to libname() and lib_copy() functions to allow user to pass library names as a variable.
  • Added quiet parameter on libname() function to minimize console output if desired.
  • Added arrays parameter and dsarray() class to handle data step arrays. This functionality allows iteration across a list of variables inside a datastep().
  • Added attributes parameter and dsattr() class to handle data step attributes. This functionality allows the user to add attributes to datastep variables.
  • Fixed bug in datastep() where it was stripping column attributes on Base R data frames.

libr 1.1.3 2021-02-08

  • Fixed bug on datastep when data frame/tibble had a single column.

libr 1.1.1 2021-01-06

  • Integrated libr with logr. All library functions will automatically provide logging entries if the autolog feature of the logr package is enabled.
  • Added pkgdown site.
  • Added filter parameters to libname() and lib_load() functions. The filter parameter allows the user to specify which data from the library they want loaded into memory.
  • Changed default “na” parameter on csv export to empty string instead of NA to accommodate import into SAS. SAS couldn’t deal with the NA strings.
  • Fixed bug in dbf engine when outputting tibbles.
  • Fixed bug in %eq% operator when comparing objects with different numbers of classes.
  • Greatly improved performance of datastep, especially on grouped tibbles.

libr 1.0.1 2020-12-09

A package to create data libraries, data dictionaries, and the ability to perform a data step. The major functions are:

  • libname() function creates a data library
  • dictionary() function creates a data dictionary
  • datastep() function steps through data row-by-row
  • %eq% allows comparison of any two R objects without error

The packages also contains a variety of functions to manipulate data libraries: