-
Notifications
You must be signed in to change notification settings - Fork 755
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update active.R + test * Update build-readme.R and tests * Update find_active_file(). Includes wrapper around rstudioapi::isAvailable() that returns FALSE when testing. * Update change_maintainer_email() + tests. Refactoring Maintainer check to make it more consistent * use_lifecycle() * Update package.R and tests. I realised that there was no way for `create` to work because `package_file()` will always error if it doesn't find a `DESCRIPTION`. So I deprecated it and removed the unused code * Re-document * Update release.R. I removed `email()` and `email_browser()` since as far as I can tell they are not used anywhere, and represent a very old style of CRAN submission. I don't know how to unit test this code so I did my best to carefully execute each change by hand. * Improve package_file() error * Fix R CMD check failure * Simplify local_package_create(). And give it a name consistent with latest standards * Update run-source.R + tests * Fix remaining simple stop() calls * Convert cli_alert_* to cli_inform() (except for vignette.R, which I'll do in #2425) Closes #2364
- Loading branch information
Showing
54 changed files
with
455 additions
and
326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#' @section Package options: | ||
#' | ||
#' Devtools uses the following [options()] to configure behaviour: | ||
#' | ||
#' \itemize{ | ||
#' \item `devtools.path`: path to use for [dev_mode()] | ||
#' | ||
#' \item `devtools.name`: your name, used when signing draft | ||
#' emails. | ||
#' | ||
#' \item `devtools.install.args`: a string giving extra arguments passed | ||
#' to `R CMD install` by [install()]. | ||
#' | ||
#' \item `devtools.desc.author`: a string providing a default Authors@@R | ||
#' string to be used in new \file{DESCRIPTION}s. Should be a R code, and | ||
#' look like `"Hadley Wickham <h.wickham@@gmail.com> [aut, cre]"`. See | ||
#' [utils::as.person()] for more details. | ||
#' | ||
#' \item `devtools.desc.license`: a default license string to use for | ||
#' new packages. | ||
#' | ||
#' \item `devtools.desc.suggests`: a character vector listing packages to | ||
#' to add to suggests by defaults for new packages. | ||
# | ||
#' \item `devtools.desc`: a named list listing any other | ||
#' extra options to add to \file{DESCRIPTION} | ||
#' | ||
#' } | ||
#' @docType package | ||
#' @keywords internal | ||
"_PACKAGE" | ||
|
||
## usethis namespace: start | ||
#' @importFrom lifecycle deprecated | ||
## usethis namespace: end | ||
NULL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.