Skip to content

refactor: code improvements and automatization#15

Merged
visze merged 32 commits intodevelopmentfrom
refactor/code_improements_automatization
Feb 27, 2026
Merged

refactor: code improvements and automatization#15
visze merged 32 commits intodevelopmentfrom
refactor/code_improements_automatization

Conversation

@visze
Copy link
Copy Markdown
Contributor

@visze visze commented Feb 26, 2026

No description provided.

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Fail ❌
YAML Pass ✅

Super-linter detected linting errors

For more information, see the GitHub Actions workflow run

Powered by Super-linter

R
Error in `lint_impl_()`:
! Linter `linter()` failed in '/github/workspace/R/analyze.R':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/R/analyze.R")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted
Error in `lint_impl_()`:
! Linter `linter()` failed in '/github/workspace/R/fit.R':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/R/fit.R")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted
Error in `lint_impl_()`:
! Linter `linter()` failed in '/github/workspace/R/mpra_set.R':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/R/mpra_set.R")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted
Error in `lint_impl_()`:
! Linter `linter()` failed in '/github/workspace/R/preprocess.R':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/R/preprocess.R")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted
Error in `lint_impl_()`:
! Linter `linter()` failed in '/github/workspace/R/utils.R':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/R/utils.R")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted
Error in `lint_impl_()`:
! Linter `linter()` failed in
  '/github/workspace/inst/scripts/makeMpraSetExample.R':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/inst/scripts/makeMpraSetExample.R")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted
Error in `lint_impl_()`:
! Linter `linter()` failed in '/github/workspace/tests/runTests.R':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/tests/runTests.R")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted
Error in `lint_impl_()`:
! Linter `linter()` failed in
  '/github/workspace/tests/testthat/test-analyze.R':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/tests/testthat/test-analyze.R")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted
Error in `lint_impl_()`:
! Linter `linter()` failed in
  '/github/workspace/tests/testthat/test-fit.R':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/tests/testthat/test-fit.R")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted
Error in `lint_impl_()`:
! Linter `linter()` failed in
  '/github/workspace/tests/testthat/test-preprocess.R':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/tests/testthat/test-preprocess.R")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted
Error in `lint_impl_()`:
! Linter `linter()` failed in '/github/workspace/vignettes/BCalm.Rmd':
Caused by error in `linter_fun()`:
! cyclocomp_linter is disabled due to lack of the cyclocomp package
Backtrace:
     ▆
  1. └─lintr::lint("/github/workspace/vignettes/BCalm.Rmd")
  2.   └─lintr:::lint_impl_(linters, lint_cache, filename, source_expressions)
  3.     ├─base::withCallingHandlers(...)
  4.     └─lintr:::get_lints(...)
  5.       ├─lintr:::flatten_lints(linter_fun(expr))
  6.       │ └─lintr:::flatten_list(x, class = "lint")
  7.       │   └─lintr (local) assign_item(x)
  8.       └─lintr (local) linter_fun(expr)
  9.         └─cli::cli_abort("cyclocomp_linter is disabled due to lack of the {.pkg cyclocomp} package")
 10.           └─rlang::abort(...)
Warning message:
Warning encountered while loading config:
Caused by warning:
! Warning from config setting `linters`.
Caused by warning:
! Cyclocomp complexity is computed using `cyclocomp::cyclocomp()`.
ℹ Please install the needed cyclocomp package.
Execution halted

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

…, and LICENSE for improved organization and clarity
…st cases, and remove redundant parameters for clarity
…te_rna_df, create_var_df, downsample_barcodes, fit_elements, getLabel, mpra_treat, plot_groups, and BcSetExample
@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

…istently and update tests for class expectations based on endomorphic argument presence
@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
R Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@visze visze merged commit e7c1178 into development Feb 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant