Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/bash.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Open bash shell in package directory.
#' Open bash shell in package directory
#'
#' @template devtools
#' @export
Expand Down
2 changes: 1 addition & 1 deletion R/check-devtools.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Custom devtools release checks.
#' Custom devtools release checks
#'
#' This function performs additional checks prior to release. It is called
#' automatically by [release()].
Expand Down
2 changes: 1 addition & 1 deletion R/check-doc.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Check documentation, as `R CMD check` does.
#' Check documentation, as `R CMD check` does
#'
#' This function attempts to run the documentation related checks in the
#' same way that `R CMD check` does. Unfortunately it can't run them
Expand Down
2 changes: 1 addition & 1 deletion R/check-git.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Git checks.
#' Git checks
#'
#' This function performs Git checks checks prior to release. It is called
#' automatically by [release()].
Expand Down
2 changes: 1 addition & 1 deletion R/document.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Use roxygen to document a package.
#' Use roxygen to document a package
#'
#' This function is a wrapper for the [roxygen2::roxygenize()]
#' function from the roxygen2 package. See the documentation and vignettes of
Expand Down
4 changes: 2 additions & 2 deletions R/install.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Install a local development package.
#' Install a local development package
#'
#' Uses `R CMD INSTALL` to install the package. Will also try to install
#' dependencies of the package from CRAN, if they're not already installed.
Expand Down Expand Up @@ -148,7 +148,7 @@ install <-
invisible(TRUE)
}

#' Install package dependencies if needed.
#' Install package dependencies if needed
#'
#' `install_deps()` will install the
#' user dependencies needed to run the package, `install_dev_deps()` will also
Expand Down
2 changes: 1 addition & 1 deletion R/missing-s3.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Find missing s3 exports.
#' Find missing s3 exports
#'
#' The method is heuristic - looking for objs with a period in their name.
#'
Expand Down
4 changes: 2 additions & 2 deletions R/package.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Coerce input to a package.
#' Coerce input to a package
#'
#' Possible specifications of package:
#' \itemize{
Expand All @@ -21,7 +21,7 @@ as.package <- function(x = NULL, create = deprecated()) {
load_pkg_description(x)
}

#' Find file in a package.
#' Find file in a package
#'
#' It always starts by walking up the path until it finds the root directory,
#' i.e. a directory containing `DESCRIPTION`. If it cannot find the root
Expand Down
2 changes: 1 addition & 1 deletion R/release.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Release package to CRAN.
#' Release package to CRAN
#'
#' @description
#' `r lifecycle::badge("deprecated")`
Expand Down
2 changes: 1 addition & 1 deletion R/reload.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Unload and reload package.
#' Unload and reload package
#'
#' This attempts to unload and reload an _installed_ package. If the package is
#' not loaded already, it does nothing. It's not always possible to cleanly
Expand Down
2 changes: 1 addition & 1 deletion R/revdep.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Reverse dependency tools.
#' Reverse dependency tools
#'
#' Tools to check and notify maintainers of all CRAN and Bioconductor
#' packages that depend on the specified package.
Expand Down
2 changes: 1 addition & 1 deletion R/run-examples.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Run all examples in a package.
#' Run all examples in a package
#'
#' One of the most frustrating parts of `R CMD check` is getting all of your
#' examples to pass - whenever one fails you need to fix the problem and then
Expand Down
2 changes: 1 addition & 1 deletion R/run-source.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Run a script through some protocols such as http, https, ftp, etc.
#' Run a script through some protocols such as http, https, ftp, etc
#'
#' If a SHA-1 hash is specified with the `sha1` argument, then this
#' function will check the SHA-1 hash of the downloaded file to make sure it
Expand Down
2 changes: 1 addition & 1 deletion R/save-all.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Save all documents in an active IDE session.
#' Save all documents in an active IDE session
#'
#' Helper function wrapping IDE-specific calls to save all documents in the
#' active session. In this form, callers of `save_all()` don't need to
Expand Down
2 changes: 1 addition & 1 deletion R/wd.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Set working directory.
#' Set working directory
#'
#' @template devtools
#' @param path path within package. Leave empty to change working directory
Expand Down
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' @import fs
NULL

#' Deprecated Functions
#' Deprecated functions
#'
#' These functions are Deprecated in this release of devtools, they will be
#' marked as Defunct and removed in a future version.
Expand Down
7 changes: 5 additions & 2 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ development:
mode: auto

reference:
- title: Package Development
- title: Package development
desc: Primary commands used when developing a package.
contents:
- build
Expand All @@ -30,10 +30,12 @@ reference:
- reload
- spell_check
- test
- title: Package Installation

- title: Package installation
contents:
- starts_with("install")
- uninstall

- title: Utilities
contents:
- bash
Expand All @@ -48,6 +50,7 @@ reference:
- update_packages
- wd
- save_all

- title: Deprecated functions
contents:
- build_vignettes
Expand Down