Learn R Programming

editbl (version 1.2.0)

evalCanEditRow: Determine if a row can be edited

Description

Determine if a row can be edited

Usage

evalCanEditRow(row, canEditRow = TRUE, statusCol = "status")

Value

boolean

Arguments

row

tibble, single row.

canEditRow

function with argument 'row' defining logic on wether or not the row can be modified. Can also be logical TRUE or FALSE.

statusCol

character(1) name of column with general status (e.g. modified or not).

Author

Jasper Schelfhout

Details

calling this around the user passed on function ensures that newly inserted rows are being excempt from the logic. Moreover, the output of the function can be checked.