Learn R Programming

safetyGraphics (version 1.1.0)

removeCharts: Remove a chart from the safetyGraphics shiny app

Description

This function updates settings objects to remove chart from the safetyGraphics shiny app

Usage

removeCharts(charts, settingsLocation = getwd())

Arguments

charts

Name of the chart(s) to remove - one word, all lower case

settingsLocation

path where the custom settings will be loaded/saved. If metadata is not found in that location, it will be read from the package (e.g. safetyGraphics::settingsMetadata), and then written to the specified location once the chart has been removed

Details

This function makes it easy for remove a chart from the safetyGraphics shiny app by making updates to the underlying metadata used by the package.