remove_button: Remove button from a project wiki

View source: R/wiki_mod.R

remove_buttonR Documentation

Remove button from a project wiki

Description

This provides a way to remove buttons that should no longer be present, possibly as decided by newer and wiser design decisions. See also button_widget. The target button is selected based on the specified text label. If for some reason there are multiple buttons with the same label, all of them will be removed.

Usage

remove_button(wiki, label, dry_run = TRUE)

Arguments

wiki

The wiki object to operate on.

label

Button label text.

dry_run

Whether to return a wiki object only without actually performing update.


nf-osi/nfportalutils documentation built on Feb. 26, 2024, 1:05 p.m.