Skip to content

Commit

Permalink
feat: Fixed warnings thrown by R CMD check
Browse files Browse the repository at this point in the history
  • Loading branch information
svalvaro committed Nov 12, 2024
1 parent 5214268 commit af4a1d8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 19 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: quill
Type: Package
Title: Provides an R interface for QuillJS, an open-source WYSIWYG editor.
Title: Provides an R interface for QuillJS, an open-source text editor
Version: 0.1.0
Author: Alvaro Sanchez-Villalba
Maintainer: The package maintainer <[email protected]>
Expand Down
9 changes: 6 additions & 3 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ format_multiple_choice_options <- function(name, value) {
#' @param bold Logical; `TRUE` or `FALSE` to include/exclude bold functionality.
#' @param clean Logical; `TRUE` or `FALSE` to include/exclude clean functionality.
#' @param code Logical; `TRUE` or `FALSE` to include/exclude inline code functionality.
#' @param `code-block` Logical; `TRUE` or `FALSE` to include/exclude code block functionality.
#' @param code_block Logical; `TRUE` or `FALSE` to include/exclude code block functionality.
#' @param color A vector of colors for text color. If empty, default colors will appear,
#' e.g., `c('red', 'blue', '#32a852')` or `c()`.
#' @param direction Character; `NULL` or `"rtl"` to set the text input direction.
Expand All @@ -109,6 +109,9 @@ format_multiple_choice_options <- function(name, value) {
#' `normal_selected" / "normal_unselected"` controls the "Normal" button's inclusion, with
#' selection depending on the current default.
#' @param strike Logical; `TRUE` or `FALSE` to include/exclude strikethrough functionality.
#' @param blockquote Logical; `TRUE` or `FALSE` to include/exclude blockquote functionality.
#' @param underline Logical; `TRUE` or `FALSE` to include/exclude underline functionality.
#' @param video Logical; `TRUE` or `FALSE` to include/exclude video functionality.
#'
#' @return list
#' @export
Expand Down Expand Up @@ -136,7 +139,7 @@ toolbar_options <- function(
script = c("sub", "super"),
underline = TRUE,
video = FALSE,
`code-block` = TRUE
code_block = TRUE
) {
list(
align = align,
Expand All @@ -159,7 +162,7 @@ toolbar_options <- function(
script = script,
underline = underline,
video = video,
`code-block` = `code-block`
`code-block` = code_block
)
}

12 changes: 0 additions & 12 deletions man/hello.Rd

This file was deleted.

2 changes: 1 addition & 1 deletion man/quill-package.Rd

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

10 changes: 8 additions & 2 deletions man/toolbar_options.Rd

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

0 comments on commit af4a1d8

Please sign in to comment.