Skip to content

Commit

Permalink
doc: add deprecated status to refresh() - fix #49
Browse files Browse the repository at this point in the history
  • Loading branch information
ahasverus committed Oct 23, 2023
1 parent 033625f commit ef9958b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/refresh.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#' Refresh a package/research compendium
#'
#' @description
#' **This function is about to be removed from `rcompendium`.**
#'
#' This function refreshes a package/research compendium. It will:
#' * Update `.Rd` files and `NAMESPACE` by using [devtools::document()];
#' * Update external packages (in `DESCRIPTION` file) by using
Expand Down Expand Up @@ -46,6 +48,8 @@ refresh <- function(compendium = NULL, make = FALSE, check = FALSE,
quiet = FALSE) {


.Deprecated(msg = "This function is about to be removed from 'rcompendium'")

is_package()

stop_if_not_logical(make, check, quiet)
Expand Down
2 changes: 2 additions & 0 deletions man/refresh.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ef9958b

Please sign in to comment.