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
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ importFrom(utils,file.edit)
importFrom(utils,getFromNamespace)
importFrom(utils,menu)
importFrom(utils,modifyList)
importFrom(utils,person)
importFrom(utils,sessionInfo)
importFrom(yaml,read_yaml)
importFrom(yaml,write_yaml)
9 changes: 8 additions & 1 deletion R/desc.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@
#' @param repo_url URL (if needed)
#' @param pkg_version The version of the package. Default is 0.0.0.9000
#' @param pkg Path to look for the DESCRIPTION. Default is `get_golem_wd()`.
#'
#' @param author_first_name to be deprecated: use character for first name via
#' \code{authors = person(given = "authors_first_name")} instead
#' @param author_last_name to be deprecated: use character for last name via
#' \code{authors = person(given = "authors_last_name")} instead
#' @param author_email to be deprecated: use character for first name via
#' \code{authors = person(email = "author_email")} instead
#' @param author_orcid to be deprecated
#'
#' @export
#' @importFrom utils person
#'
#' @return The {desc} object, invisibly.
fill_desc <- function(
Expand Down
3 changes: 2 additions & 1 deletion inst/shinyexample/dev/01_start.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ golem::fill_desc(
authors = person(
given = "AUTHOR_FIRST", # Your First Name
family = "AUTHOR_LAST", # Your Last Name
email = "AUTHOR@MAIL.COM" # Your email
email = "AUTHOR@MAIL.COM", # Your email
role = c("aut", "cre")
),
repo_url = NULL, # The URL of the GitHub repo (optional),
pkg_version = "0.0.0.9000" # The version of the package containing the app
Expand Down
3 changes: 2 additions & 1 deletion vignettes/a_start.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ golem::fill_desc(
authors = person(
given = "AUTHOR_FIRST", # Your First Name
family = "AUTHOR_LAST", # Your Last Name
email = "AUTHOR@MAIL.COM" # Your email
email = "AUTHOR@MAIL.COM", # Your email
role = c("aut", "cre")
),
repo_url = NULL, # The URL of the GitHub repo (optional),
pkg_version = "0.0.0.9000" # The version of the package containing the app
Expand Down