Skip to content

Commit

Permalink
bug fix: check for data.frame removed from fd_report.
Browse files Browse the repository at this point in the history
  • Loading branch information
hanecakr committed Oct 18, 2024
1 parent d094551 commit 941915f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/fd_report.R
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fd_report <- function(x,

if (sw_data %in% sw_data_overview()) {
sw_data <- rep(sw_data, nrow(x))
} else if (exists(sw_data) & is.data.frame(sw_data)){
} else if (exists(sw_data)){
sw_data <- rep(sw_data, nrow(x))
} else if (sw_data %in% colnames(x)) {
sw_data <- x[, sw_data]
Expand Down

0 comments on commit 941915f

Please sign in to comment.