Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Mar 18, 2024
1 parent 598f6de commit e3e3f64
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dashboard
Title: What the Package Does (One Line, Title Case)
Version: 0.0.3.024
Version: 0.0.3.025
Authors@R:
person(given = "First",
family = "Last",
Expand Down
12 changes: 8 additions & 4 deletions R/gt-table.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
#' This function is called internally from the \code{\link{dashboard}} function
#' if the `browse` argument is set to `TRUE`.
#'
#' @param dat The `data.frame` returned from the \code{\link{dashboard}} function.
#' @return Nothing; function called for side-effect only of opening \pkg{gt} table.
#' @param dat The `data.frame` returned from the \code{\link{dashboard}}
#' function.
#' @return Nothing; function called for side-effect only of opening \pkg{gt}
#' table.
#'
#' @noRd
open_gt_table <- function (dat) {
Expand All @@ -13,7 +15,7 @@ open_gt_table <- function (dat) {
assignees <- created_at <- editor <- editor_date <- has_multiple_stages <-
last_edited_at <- number <- rev1 <- rev1_assigned <- rev1_due <- rev2 <-
rev2_assigned <- rev2_due <- stage_date <- stage_elapsed <- title <-
updated_at <- urgency <- NULL
updated_at <- urgency <- elapsed_days <- NULL

requireNamespace ("gt")
u <- "https://github.com/ropensci/software-review/issues/"
Expand Down Expand Up @@ -65,7 +67,9 @@ open_gt_table <- function (dat) {
groupname_col = "stage"
) |>
gt::tab_header ("rOpenSci submission overview") |>
gt::cols_hide (c (stage_elapsed, urgency, has_multiple_stages, elapsed_days)) |>
gt::cols_hide (
c (stage_elapsed, urgency, has_multiple_stages, elapsed_days)
) |>
gt::tab_spanner (
label = "Editor",
id = "ed_span",
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "dashboard: What the Package Does (One Line, Title Case)",
"codeRepository": "https://github.com/ropensci-review-tools/dashboard",
"license": "https://spdx.org/licenses/MIT",
"version": "0.0.3.024",
"version": "0.0.3.025",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit e3e3f64

Please sign in to comment.