Make the id parameter optional for unregisterChunkCallback and update the documentation to reflect that. As is, the id or handle parameter is unnecessary as there can only be one callback registered at a time. I'm leaving that code there in case we allow for multiple callbacks in the future.
Make the
id
parameter optional forunregisterChunkCallback
and update the documentation to reflect that. As is, theid
or handle parameter is unnecessary as there can only be one callback registered at a time. I'm leaving that code there in case we allow for multiple callbacks in the future.Relates to this issue: https://github.com/rstudio/rstudio/pull/7693