Skip to content

Commit 625c0a6

Browse files
cforgacimaelle
authored andcommitted
Move mention of devtag to the end of the paragraph.
1 parent 1c9b78b commit 625c0a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg_building.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ f <- function(a = TRUE) {
253253

254254
- For including examples, you can use the classic `@examples` tag (plural "examples") but also the `@example <path>` tag (singular "example") for storing the example code in a separate R script (ideally under `man/`), and the `@exampleIf` tag for running examples conditionally and avoiding R CMD check failures. Refer to [roxygen2 documentation about examples](https://roxygen2.r-lib.org/articles/rd.html#examples).
255255

256-
- Add `#' @noRd` to internal functions that aren't worth documenting for end users. For development purposes, you might be interested in the [devtag experimental package](https://github.com/moodymudskipper/devtag) for getting local manual pages when using `#' @noRd`. If you want to build documentation for certain internal functions, you can use `#' @keywords internal` instead of `#' @noRd`. Note that functions with `#' @keywords internal` do not require an `#' @example` section for CRAN submission.
256+
- Add `#' @noRd` to internal functions that aren't worth documenting for end users. If you want to build documentation for certain internal functions, you can use `#' @keywords internal` instead of `#' @noRd`. Note that functions with `#' @keywords internal` do not require an `#' @example` section for CRAN submission. For development purposes, you might be interested in the [devtag experimental package](https://github.com/moodymudskipper/devtag) for getting local manual pages when using `#' @noRd`.
257257

258258
- Starting from roxygen2 version 7.0.0, `R6` classes are officially supported. See the [roxygen2 docs](https://roxygen2.r-lib.org/articles/rd-other.html#r6) for details on how to document `R6` classes.
259259

0 commit comments

Comments
 (0)