Skip to content

Commit

Permalink
Merge pull request #44 from Appsilon/fix-cran-comments
Browse files Browse the repository at this point in the history
chore: Resolve CRAN review comments.
  • Loading branch information
jakubnowicki authored Nov 23, 2023
2 parents 3de5bce + f28a8bf commit 9697b60
Show file tree
Hide file tree
Showing 12 changed files with 70 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ vignettes
pkgdown
_\.new\.png$
^e2e_tests$
^CRAN-SUBMISSION$
^cran-comments\.md$
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Authors@R:
person("Eduardo", "Almeida", role = c("ctb"), email = "[email protected]"),
person("Appsilon Sp. z o.o.", role = "cph", email = "[email protected]")
)
Description: Enhanced functionality for 'reactable' in 'Shiny' applications, offering interactive and dynamic data table capabilities with ease.
With 'reactable.extras', easily integrate a range of functions and components to enrich your 'Shiny' apps and facilitate user-friendly data exploration.
Description: Enhanced functionality for 'reactable' in 'shiny' applications, offering interactive and dynamic data table capabilities with ease.
With 'reactable.extras', easily integrate a range of functions and components to enrich your 'shiny' apps and facilitate user-friendly data exploration.
License: LGPL-3
URL: https://appsilon.github.io/reactable.extras/, https://github.com/Appsilon/reactable.extras
BugReports: https://github.com/Appsilon/reactable.extras/issues
Expand Down
9 changes: 9 additions & 0 deletions R/inputs.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ define_key <- function(key) {
#' @examples
#' reactable::colDef(cell = button_extra("click", class = "table-button"))
#'
#' @return Custom JS button renderer for reactable
#'
#' @export
button_extra <- function(id, key = NULL, ...) {
Expand Down Expand Up @@ -73,6 +74,8 @@ button_extra <- function(id, key = NULL, ...) {
#' @examples
#' reactable::colDef(cell = checkbox_extra("check", class = "table-check"))
#'
#' @return Custom JS checkbox renderer for reactable
#'
#' @export
checkbox_extra <- function(id, key = NULL, ...) {
key <- define_key(key)
Expand Down Expand Up @@ -101,6 +104,8 @@ checkbox_extra <- function(id, key = NULL, ...) {
#' @examples
#' reactable::colDef(cell = date_extra("date", class = "table-date"))
#'
#' @return Custom JS date input renderer for reactable
#'
#' @export
date_extra <- function(id, key = NULL, ...) {
key <- define_key(key)
Expand Down Expand Up @@ -145,6 +150,8 @@ build_dropdown_extra_choices <- function(choices) {
#' )
#' )
#'
#' @return Custom JS dropdown renderer for reactable
#'
#' @export
dropdown_extra <- function(id, choices, key = NULL, ...) {

Expand Down Expand Up @@ -177,6 +184,8 @@ dropdown_extra <- function(id, choices, key = NULL, ...) {
#'
#' @examples
#' reactable::colDef(cell = text_extra("text", class = "table-text"))
##'
#' @return Custom JS text input renderer for reactable
#'
#' @export
text_extra <- function(id, key = NULL, ...) {
Expand Down
2 changes: 2 additions & 0 deletions R/tooltip.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#' @examples
#' reactable::colDef(header = tooltip_extra("This is my tool-tip", theme = "material"))
#'
#' @return Custom JS tool-tip renderer for reactable
#'
#' @export
tooltip_extra <- function(content, theme = "light") {
reactable::JS(
Expand Down
36 changes: 36 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Resubmission

> Please note that package names are case sensitive. 'Shiny' --> 'shiny'
We changed the case.

> If there are references describing the methods in your package, please
add these in the description field of your DESCRIPTION file in the form
authors (year) <doi:...>
authors (year) <arXiv:...>
authors (year, ISBN:...)
or if those are not available: <https:...>
with no space after 'doi:', 'arXiv:', 'https:' and angle brackets for
auto-linking.
(If you want to add a title as well please put it in quotes: "Title")

Unfortunately, there are no references to include regarding this package.

> Please add \value to .Rd files regarding exported methods and explain
the functions results in the documentation. Please write about the
structure of the output (class) and also what the output means. (If a
function does not return a value, please document that too, e.g.
\value{No return value, called for side effects} or similar)
Missing Rd-tags:
button_extra.Rd: \value
checkbox_extra.Rd: \value
date_extra.Rd: \value
dropdown_extra.Rd: \value
text_extra.Rd: \value
tooltip_extra.Rd: \value

## R CMD check results

0 errors | 0 warnings | 1 note

* This is a new release.
1 change: 1 addition & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ reactable
customizable
Codecov
tooltips
renderer
4 changes: 3 additions & 1 deletion man/button_extra.Rd

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

3 changes: 3 additions & 0 deletions man/checkbox_extra.Rd

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

3 changes: 3 additions & 0 deletions man/date_extra.Rd

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

3 changes: 3 additions & 0 deletions man/dropdown_extra.Rd

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

3 changes: 3 additions & 0 deletions man/text_extra.Rd

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

3 changes: 3 additions & 0 deletions man/tooltip_extra.Rd

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

0 comments on commit 9697b60

Please sign in to comment.