Skip to content

Commit 10077fa

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent f2959c6 commit 10077fa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

R/Run_Mod.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ run_mod <- function(data,
233233
# containing cleaned parameter names.
234234
# Drop the temporary Subject (now only used as a fallback for population
235235
# parameters) and rename Subject_mcmc back to Subject for downstream use.
236-
dplyr::select(!c("Subnum", "Subject", "Parameter")) |>
237-
dplyr::rename(c("Subject" = "Subject_mcmc",
238-
"Parameter" = "Param"))
236+
dplyr::select(-c("Subnum", "Subject", "Parameter")) |>
237+
dplyr::rename(Subject = Subject_mcmc,
238+
Parameter = Param)
239239

240240
# Creating a label for the stratification, if there is one.
241241
# If not, will add in "None".

0 commit comments

Comments
 (0)