diff --git a/R/desc.R b/R/desc.R index 8b125b35..01a21d45 100644 --- a/R/desc.R +++ b/R/desc.R @@ -113,7 +113,7 @@ fill_desc <- function( ) change_app_config_name( name = pkg_name, - path = pkg + pkg = pkg ) set_golem_name(pkg_name) diff --git a/man/is_golem.Rd b/man/is_golem.Rd index 784130f9..3027b2be 100644 --- a/man/is_golem.Rd +++ b/man/is_golem.Rd @@ -4,14 +4,14 @@ \alias{is_golem} \title{Is the directory a golem-based app?} \usage{ -is_golem(path = getwd()) +is_golem(pkg = getwd()) } \arguments{ -\item{path}{Path to the directory to check. +\item{pkg}{Path to the directory to check. Defaults to the current working directory.} } \description{ -Trying to guess if \code{path} is a golem-based app. +Trying to guess if \code{pkg} is a golem-based app. } \examples{ is_golem() diff --git a/man/pkg_tools.Rd b/man/pkg_tools.Rd index 48b7c895..cc2baa85 100644 --- a/man/pkg_tools.Rd +++ b/man/pkg_tools.Rd @@ -6,14 +6,14 @@ \alias{pkg_path} \title{Package tools} \usage{ -pkg_name(path = get_golem_wd()) +pkg_name(pkg = get_golem_wd()) -pkg_version(path = get_golem_wd()) +pkg_version(pkg = get_golem_wd()) pkg_path() } \arguments{ -\item{path}{Path to use to read the DESCRIPTION} +\item{pkg}{Path to use to read the DESCRIPTION} } \value{ The value of the entry in the DESCRIPTION file