Skip to content

Commit

Permalink
Update comments to CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
rfsaldanha committed Mar 25, 2024
1 parent 6288afd commit f8440c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/check_selection.R
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ check_selection <- function(ask_modify = TRUE, language = NULL){
cli::cli_alert_danger(paste0(sentence_start, cli::col_red(mistake), sentence_end))

# If correction exists...
if (!is.na(proof$replacements[[i]][[1]])) {
if (!is.na(proof$replacements[[i]][[1]][[1]])) {
# Print correction
correct_spelling <- proof$replacements[[i]][[1]]$value |> unlist()
cli::cli_alert_success(paste0(sentence_start, cli::col_green(correct_spelling), sentence_end))
Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
0 errors | 0 warnings | 0 notes

* The description file was updated, correctly quoting software names.
* The licence file was updated, correcting the package name.
* The license file was updated, correcting the package name.

0 comments on commit f8440c9

Please sign in to comment.