Skip to content

Commit

Permalink
lintr
Browse files Browse the repository at this point in the history
  • Loading branch information
zsigmas committed Jun 19, 2024
1 parent be496a9 commit 8a95c85
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions inst/validation/utils-validation.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if (FALSE) {
}

# Validation code

# nolint start cyclocomp_linter
local({
specs <- source(
system.file("validation", "specs.R", package = package_name, mustWork = TRUE),
Expand Down Expand Up @@ -128,7 +128,7 @@ local({

for (idx in seq_along(spec_ids)){
ids <- spec_ids[[idx]]
if(all(!is.na(ids))){
if (all(!is.na(ids))) {
this_specs <- list()
for (sub_idx in seq_along(ids)) {
id <- ids[[sub_idx]]
Expand All @@ -151,3 +151,5 @@ local({

)
})

# nolint end cyclocomp_linter

0 comments on commit 8a95c85

Please sign in to comment.