Movatterモバイル変換


[0]ホーム

URL:


fabR 2.1.1 (release :2025-06-03)

Bug fixes and improvements

fabR 2.1.0

Bug fixes and improvements

New functions

deprecated functions

To avoid confusion with help(function), the functionfabR_help() has been renamedfabR_website().

Dependency changes

fabR 2.0.1

Bug fixes and improvements

fabR 2.0.0

Creation of NEWS feed !!

Addition ofNEWS.md for the development version use“(development version)”.

Bug fixes and improvements

Dependency changes

New Imports: xfun, lifecycle

No longer in Imports: ggplot2, plotly, DT

New functions

bookdown_template() replaces the deprecated functionbookdown_template() to improve stability (no moredependency of a github repo) and open new possibilities. Such as:

This separation into 3 functions will allow future developments, suchas render as a ppt or pdf.

deprecated functions

Due to another package development (seemadshapR),all functions plot_xxx() and summary_xxx() have been deprecated in favorofvariable_visualize)

fabR 1.1.1

This package is a collection of wrapper functions used in datapipelines.

This is still a work in progress, so please let me know if you used afunction before and is not working any longer.

functionsto navigate in a folder, file or R object.

file_index_create(),file_index_read(),file_index_search()

These functions allows to create, read and search into a tibblelisting files in a specified folder (recursively) with file path nameand other useful metadata. This index can be used to quickly find filesin the environment. The index also generates script to read files as Robjects into the environment. Names for R objects are generatedautomatically from file names (R objects are not created at this stepbut the command line is generated and stored in the column to_eval,ready to be evaluated and generate R objects).

collect_roxygen() is a helper function that can read astructured documentation of a package and turn it into a tibble.

add_index() adds a extra column in a tibble which isindex of observations.

functions better than base R:

Create or test for objects of type “logical”, and the basic logicalconstants. This function is a wrapper of the function base::as.logical()and evaluates if the object to be coerced can be interpreted as aboolean. Any object : NA, NA_integer, NA_Date_, (…), 0, 0L, F, FALSE,false, FaLsE, (…), 1, 1L,T, TRUE, true, TrUe, (…), will be converted asNA, FALSE and TRUE. Any other other will return an error.

These function takes a character string or a vector. This vectorevaluates one observation after the other, and casts the best matchingdate format for each of them (independently). The best matching formatis tested across seven different formats provided by the lubridatelibrary. The user can specify the wanted matching format.

Create or test for objects of type “symbol”.

Functions to go quicker inthe code

Helper functions

Navigate into a list

QA functions for tibbles

These helper functions evaluate content of a column to extract whatthey are supposed to extract for all observations.

get_all_na_cols(),get_all_na_rows(),get_duplicated_cols(),get_duplicated_rows(),get_unique_value_cols()

Write and read excel and csv

Plot andsummary functions used in a visual report

plot_bar(),plot_box(),plot_date(),plot_density(),plot_histogram(),plot_main_word(),plot_pie_valid_value(),summary_category(),summary_numerical(),summary_text()

These functions draw a plot or create datatable of the values of acolumn. Missing values can be given as input to non-valid and validvalues separately, or grouped by another column. The output can beeditable (using plotly library) or static (using ggplot2 library). TheR-code is also editable for coding recycling purpose.

template_visual_report() is a helper function creates atemplate for the visual report bookdown. This template is taken from thefollowing link:https://github.com/jtr13/bookdown-template/archive/refs/heads/master.zipfolder.

The plot_xxx() and summary_xxx() functions can be used to generatecode in R chunks.


[8]ページ先頭

©2009-2026 Movatter.jp