Skip to content

Commit

Permalink
Solve lintr marks
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkorb committed Apr 10, 2024
1 parent ec0819a commit c918539
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/mod_export_listings.R
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,12 @@ mod_export_listings_server <- function(module_id,
c(check_ref_cols(), input[[EXP$FILENAME_ID]], input[[EXP$DATAPROTECT_ID]], input[[EXP$SNAPSHOT_ID]]),
{
dataprotect <- ifelse(!is.null(intended_use_label), input[[EXP$DATAPROTECT_ID]], TRUE)

# nolint start
if (!check_ref_cols() &
(input[[EXP$FILENAME_ID]] != "") &
dataprotect &
(ifelse(is.null(input[[EXP$SNAPSHOT_ID]]), 0, nchar(input[[EXP$SNAPSHOT_ID]])) <= 50)
) {
(input[[EXP$FILENAME_ID]] != "") &
dataprotect &
(ifelse(is.null(input[[EXP$SNAPSHOT_ID]]), 0, nchar(input[[EXP$SNAPSHOT_ID]])) <= 50)
) { # nolint end
return(TRUE)
} else {
return(FALSE)
Expand Down

0 comments on commit c918539

Please sign in to comment.