Hey, thank you for your contribution to {remedy}.
Be sure to be as precise as possible describing what you would like to implement. Suggestion for a function would be very appreciated.
Please describe as precisely as possible the bug you have encountered.
Thanks a lot for your contribution!
Before opening a Pull Request, be sure that:
-
binding functions have a trailing
r
(for examplelistr()
orurlr()
) -
documentation contain example (CRAN forces examples for the addins)
Example roxygen2 header
#' @title Imager
#'
#' @description Convert the selected path into an embedded image
#'
#'
#' @return a markdown image link
#' @export
#' @importFrom rstudioapi getSourceEditorContext modifyRange
#'
#' @examples
#' \dontrun{
#' remedy_example(
#' c( "https://thinkr.fr/wp-content/uploads/2015/03/thinkR1.png"),
#' imager
#' )
#' }
imager <- function() {
-
you've updated the binding field in addins.dcf
-
you've added element to hotkey field in opts.R. Name of element function name without the trailing
r
. -
you've added suggested hotkey for macOS, this is for when end users add hotkeys in bulk and use
remedy::remedy_opts$get("hotkeys")
-
you've added unit tests in testthat
-
you've run covrpage
covrpage::covrpage(update_badge = TRUE,vignette = TRUE)
locally since ci can't run the unit tests for addins.