Skip to content

Commit 9697b60

Browse files
authored
Merge pull request #44 from Appsilon/fix-cran-comments
chore: Resolve CRAN review comments.
2 parents 3de5bce + f28a8bf commit 9697b60

12 files changed

Lines changed: 70 additions & 3 deletions

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ vignettes
66
pkgdown
77
_\.new\.png$
88
^e2e_tests$
9+
^CRAN-SUBMISSION$
10+
^cran-comments\.md$

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Authors@R:
1111
person("Eduardo", "Almeida", role = c("ctb"), email = "eduardo@appsilon.com"),
1212
person("Appsilon Sp. z o.o.", role = "cph", email = "opensource@appsilon.com")
1313
)
14-
Description: Enhanced functionality for 'reactable' in 'Shiny' applications, offering interactive and dynamic data table capabilities with ease.
15-
With 'reactable.extras', easily integrate a range of functions and components to enrich your 'Shiny' apps and facilitate user-friendly data exploration.
14+
Description: Enhanced functionality for 'reactable' in 'shiny' applications, offering interactive and dynamic data table capabilities with ease.
15+
With 'reactable.extras', easily integrate a range of functions and components to enrich your 'shiny' apps and facilitate user-friendly data exploration.
1616
License: LGPL-3
1717
URL: https://appsilon.github.io/reactable.extras/, https://github.com/Appsilon/reactable.extras
1818
BugReports: https://github.com/Appsilon/reactable.extras/issues

R/inputs.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ define_key <- function(key) {
4444
#' @examples
4545
#' reactable::colDef(cell = button_extra("click", class = "table-button"))
4646
#'
47+
#' @return Custom JS button renderer for reactable
4748
#'
4849
#' @export
4950
button_extra <- function(id, key = NULL, ...) {
@@ -73,6 +74,8 @@ button_extra <- function(id, key = NULL, ...) {
7374
#' @examples
7475
#' reactable::colDef(cell = checkbox_extra("check", class = "table-check"))
7576
#'
77+
#' @return Custom JS checkbox renderer for reactable
78+
#'
7679
#' @export
7780
checkbox_extra <- function(id, key = NULL, ...) {
7881
key <- define_key(key)
@@ -101,6 +104,8 @@ checkbox_extra <- function(id, key = NULL, ...) {
101104
#' @examples
102105
#' reactable::colDef(cell = date_extra("date", class = "table-date"))
103106
#'
107+
#' @return Custom JS date input renderer for reactable
108+
#'
104109
#' @export
105110
date_extra <- function(id, key = NULL, ...) {
106111
key <- define_key(key)
@@ -145,6 +150,8 @@ build_dropdown_extra_choices <- function(choices) {
145150
#' )
146151
#' )
147152
#'
153+
#' @return Custom JS dropdown renderer for reactable
154+
#'
148155
#' @export
149156
dropdown_extra <- function(id, choices, key = NULL, ...) {
150157

@@ -177,6 +184,8 @@ dropdown_extra <- function(id, choices, key = NULL, ...) {
177184
#'
178185
#' @examples
179186
#' reactable::colDef(cell = text_extra("text", class = "table-text"))
187+
##'
188+
#' @return Custom JS text input renderer for reactable
180189
#'
181190
#' @export
182191
text_extra <- function(id, key = NULL, ...) {

R/tooltip.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
#' @examples
88
#' reactable::colDef(header = tooltip_extra("This is my tool-tip", theme = "material"))
99
#'
10+
#' @return Custom JS tool-tip renderer for reactable
11+
#'
1012
#' @export
1113
tooltip_extra <- function(content, theme = "light") {
1214
reactable::JS(

cran-comments.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Resubmission
2+
3+
> Please note that package names are case sensitive. 'Shiny' --> 'shiny'
4+
5+
We changed the case.
6+
7+
> If there are references describing the methods in your package, please
8+
add these in the description field of your DESCRIPTION file in the form
9+
authors (year) <doi:...>
10+
authors (year) <arXiv:...>
11+
authors (year, ISBN:...)
12+
or if those are not available: <https:...>
13+
with no space after 'doi:', 'arXiv:', 'https:' and angle brackets for
14+
auto-linking.
15+
(If you want to add a title as well please put it in quotes: "Title")
16+
17+
Unfortunately, there are no references to include regarding this package.
18+
19+
> Please add \value to .Rd files regarding exported methods and explain
20+
the functions results in the documentation. Please write about the
21+
structure of the output (class) and also what the output means. (If a
22+
function does not return a value, please document that too, e.g.
23+
\value{No return value, called for side effects} or similar)
24+
Missing Rd-tags:
25+
button_extra.Rd: \value
26+
checkbox_extra.Rd: \value
27+
date_extra.Rd: \value
28+
dropdown_extra.Rd: \value
29+
text_extra.Rd: \value
30+
tooltip_extra.Rd: \value
31+
32+
## R CMD check results
33+
34+
0 errors | 0 warnings | 1 note
35+
36+
* This is a new release.

inst/WORDLIST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ reactable
1212
customizable
1313
Codecov
1414
tooltips
15+
renderer

man/button_extra.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/checkbox_extra.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/date_extra.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/dropdown_extra.Rd

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)