Skip to content

Commit

Permalink
fix: full path for files in desc
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinFay committed Jul 29, 2024
1 parent 488c089 commit 38c2397
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion R/desc.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ fill_desc <- function(
name = pkg_name,
path = pkg
)
set_golem_name(pkg_name)
set_golem_name(
pkg_name,
pkg = path
)

desc$set(
Title = pkg_title
Expand Down
7 changes: 5 additions & 2 deletions R/golem-yaml-set.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ set_golem_name <- function(
talkative = talkative
)

# Changing in app-config.R
# Changing in app_config.R
change_app_config_name(
name = name,
path = path
Expand All @@ -62,7 +62,10 @@ set_golem_name <- function(
Package = name
)
desc$write(
file = "DESCRIPTION"
file = fs_path(
path,
"DESCRIPTION"
)
)

# Changing in ./tests/ if dir present
Expand Down

0 comments on commit 38c2397

Please sign in to comment.