Skip to content

Commit

Permalink
update cran comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DivadNojnarg committed May 5, 2022
1 parent 46cadc3 commit bc925b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/useful-items.R
Original file line number Diff line number Diff line change
Expand Up @@ -2434,7 +2434,7 @@ userPost <- function(..., id = NULL, image, author,
items <- list(...)
items <- lapply(seq_along(items), function(i) {
# do not apply to other things than tags
if (class(items[[i]]) == "shiny.tag") {
if (inherits(items[[i]], "shiny.tag")) {
if (items[[i]]$name == "img") {
# wrap the image item in a div to align its content
shiny::tags$div(
Expand Down
5 changes: 2 additions & 3 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Test environments
* local OS X install, R 3.6.1
* local OS X install, R 4.1.3
* RStudio Server on linux Ubuntu 20.04.3 LTS R 4.1.2
* `rhub::check_for_cran`
* Github actions
* Windows (via devtools::check_win_devel())
Expand All @@ -8,5 +9,3 @@
There were no ERRORs or WARNINGs or NOTEs

## Note

This release is a patch to fix an issue preventing the release of Shiny 1.7.0.

0 comments on commit bc925b4

Please sign in to comment.