Skip to content

Commit ba97491

Browse files
committed
use markdown for code in docs
1 parent 9b5dbff commit ba97491

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

R/BiocCheck.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#' vignette also provides detailed explanations of all the checks performed by
1414
#' `BiocCheck`.
1515
#'
16-
#' `BiocCheck` is called within R with \preformatted{ BiocCheck(<package>)
17-
#' } where `package` points to the source directory or the `.tar.gz`
16+
#' `BiocCheck` is called within R with `BiocCheck("package")`
17+
#' where `package` points to the source directory or the `.tar.gz`
1818
#' tarball that was created using `R CMD build`.
1919
#'
2020
#' \emph{Note} that `BiocCheck` is complementary to `R CMD check`.
@@ -31,13 +31,13 @@
3131
#' to the name of the installation log file.
3232
#' For example, the following will put the `install_out.txt` log file in the
3333
#' `<package_name>.BiocCheck` directory:
34-
#' \preformatted{ BiocCheck(package, install="check:install_out.txt") }
34+
#' `BiocCheck(package, install="check:install_out.txt")`
3535
#'
3636
#' @section dot-options:
3737
#' To use the dot-options, `BiocCheck` can be called with named arguments
3838
#' corresponding to the options below. Typically, these options are set to
3939
#' `TRUE` to disable specific checks, e.g.,
40-
#' \preformatted{ BiocCheck(package, `no-check-vignettes`=TRUE) }. Unless
40+
#' `BiocCheck(package, 'no-check-vignettes'=TRUE)`. Unless
4141
#' otherwise stated, these options can be left unset (i.e., `NULL`) to enable
4242
#' checks but `FALSE` can also be used to explicitly enable them. The available
4343
#' options are:

R/BiocCheckGitClone.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ hidden_file_data <- data.frame(
3333
#' writing Bioconductor software. This function should only be run on a source
3434
#' directory and not on a tarball.
3535
#'
36-
#' `BiocCheckGitClone` is called within R with, as \preformatted{
37-
#' BiocCheckGitClone(<package>) } where `package` is the source directory
36+
#' `BiocCheckGitClone` is called within R with, as
37+
#' `BiocCheckGitClone("package")` where `package` is the source directory
3838
#' containing the `R` package.
3939
#'
4040
#' @param package A directory containing an R source package. Not a package tar

man/BiocCheck.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/BiocCheckGitClone.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)