Skip to content

Commit

Permalink
linter fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhry committed Dec 8, 2023
1 parent 0f6d941 commit 185e62f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
38 changes: 19 additions & 19 deletions R/semantic_report_constructors.R
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@ result_table <- function(results, type, mark, df_error_head_n) {
purrr::map(
seq_len(nrow(results)),
~ make_table_row(
results[.x, ],
type,
mark,
df_error_head_n = df_error_head_n
)
results[.x, ],
type,
mark,
df_error_head_n = df_error_head_n
)
)
)
)
}
Expand Down Expand Up @@ -188,14 +188,14 @@ make_accordion_container <- function(...) {
#' @return Accordion.
#' @keywords internal
make_accordion_element <- function(
results,
color = "green",
label,
active = FALSE,
type,
mark,
df_error_head_n
) {
results,
color = "green",
label,
active = FALSE,
type,
mark,
df_error_head_n
) {
state <- NULL
if (active) {
state <- "active"
Expand Down Expand Up @@ -346,12 +346,12 @@ make_summary_table <- function(n_passes, n_fails, n_warns) {
#' @return HTML validation report.
#' @keywords internal
get_semantic_report_ui <- function(
n_passes,
n_fails,
n_warns,
validation_results,
df_error_head_n
) {
n_passes,
n_fails,
n_warns,
validation_results,
df_error_head_n
) {
summary_table <- make_summary_table(n_passes, n_fails, n_warns)
unique_objects <- validation_results %>% dplyr::pull(.data$table_name) %>% unique()
html_report <- unique_objects %>% purrr::map(~ {
Expand Down
3 changes: 2 additions & 1 deletion man/render_semantic_report_ui.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 185e62f

Please sign in to comment.