dreamRs / toastui

R htmlwidgets for ToastUI libraries: grid, calendar and chart
https://dreamrs.github.io/toastui
Other
82 stars 8 forks source link

Turn off Google analytics ? #49

Open iainmwallace opened 1 month ago

iainmwallace commented 1 month ago

Wonderful package!!

Is it possible to turn off the google analytics option in toastui via ?

According to some documentation they use GA to track usage of the open source library and it can be turned off via a configuration option

Thanks!

https://github.com/nhn/tui.grid/blob/master/packages/toast-ui.grid/README.md#

const options = { // ... usageStatistics: false };

const instance = new Grid(options);

pvictor commented 1 month ago

Hello,

Thank you ! You can pass options to JS Grid function like this :

datagrid(rolling_stones_50, usageStatistics = FALSE)

I've turn off option usageStatistics by default for datagrid in the dev version, so you won't have to specify the argument in the next CRAN release.

Victor