Skip to content

Commit 66448b9

Browse files
committed
Remove unnecessary bracket refs
1 parent df35f4b commit 66448b9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

R/analyse-helpers.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
#' @noRd
254254
.build_lm_context <- function(formula, modelarray, phenotypes, scalar) {
255255
# Formula parsing — currently repeated per element inside
256-
# analyseOneElement.lm [4]
256+
# analyseOneElement.lm
257257
all_vars <- all.vars(formula)
258258
lhs_name <- tryCatch(
259259
as.character(formula[[2]]),
@@ -307,7 +307,7 @@
307307
#' }
308308
#' @noRd
309309
.build_gam_context <- function(formula, modelarray, phenotypes, scalar) {
310-
# GAM formula validation — currently runs in ModelArray.gam() preamble [1]
310+
# GAM formula validation — currently runs in ModelArray.gam() preamble
311311
# but the breakdown result is discarded. We cache it here.
312312
gam_breakdown <- tryCatch(
313313
mgcv::interpret.gam(formula),
@@ -357,7 +357,7 @@
357357
# Extracts scalar values for one element using the precomputed context,
358358
# builds the validity mask, and returns the filtered data.frame.
359359
# This replaces duplicated logic across analyseOneElement.lm,
360-
# analyseOneElement.gam, and analyseOneElement.wrap [4].
360+
# analyseOneElement.gam, and analyseOneElement.wrap.
361361

362362
#' Assemble per-element data.frame from precomputed context
363363
#'

0 commit comments

Comments
 (0)