Skip to content

Commit

Permalink
what is the problem with \dontrun and \dontshow??
Browse files Browse the repository at this point in the history
  • Loading branch information
mnr committed Apr 27, 2024
1 parent c0834a3 commit c9d48ff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions R/rpi_pinToBCM.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@
#' @export
#'
#' @examplesIf is.rpi()
#' \dontrun {
#' rpi_pinToBCM(1) # produces error since pin #1 is not data
#' rpi_pinToBCM(40) # returns a named vector where bcm_line = 21 and pin_name = GPIO21
#' }

rpi_pinToBCM <- function(pin_number) {
# check pin number. Are all values valid data lines?

Expand Down

0 comments on commit c9d48ff

Please sign in to comment.