Skip to content

Commit

Permalink
fix message differences in new {renv}
Browse files Browse the repository at this point in the history
  • Loading branch information
zkamvar committed Mar 7, 2023
1 parent 13044a0 commit c0f19a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ LazyData: true
Config/testthat/edition: 3
Config/testthat/parallel: false
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.2
RoxygenNote: 7.2.3
URL: https://carpentries.github.io/sandpaper/, https://github.com/carpentries/sandpaper/, https://carpentries.github.io/workbench/
BugReports: https://github.com/carpentries/sandpaper/issues/
VignetteBuilder: knitr
4 changes: 2 additions & 2 deletions R/utils-cli.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ warn_schedule <- function() {

show_changed_yaml <- function(sched, order, yaml, what = "episodes") {

# display for the user to distinguish what was added and what was taken
# display for the user to distinguish what was added and what was taken
removed <- sched %nin% order
added <- order %nin% sched
thm <- cli::cli_div(theme = sandpaper_cli_theme())
Expand Down Expand Up @@ -113,7 +113,7 @@ message_draft_files <- function(hopes, real_files, subfolder) {
}

message_package_cache <- function(msg) {
our_lines <- grep("^(renv maintains|This path can be customized)", msg)
our_lines <- grep("(renv maintains a local cache)|^(This path can be customized)", msg)
RENV_MESSAGE <- msg[our_lines[1]:our_lines[2]]
RENV_MESSAGE <- paste(RENV_MESSAGE, collapse = "\f")
txt <- readLines(system.file("templates", "consent-form.txt", package = "sandpaper"))
Expand Down
2 changes: 1 addition & 1 deletion man/work_with_cache.Rd

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

0 comments on commit c0f19a1

Please sign in to comment.