Skip to content

Split grid function into grid and pseudoenv#17

Open
kaibagley wants to merge 4 commits into
mainfrom
split-grid
Open

Split grid function into grid and pseudoenv#17
kaibagley wants to merge 4 commits into
mainfrom
split-grid

Conversation

@kaibagley

Copy link
Copy Markdown
Contributor

Hey Braden, I just split your function into two, where ofe_grid_data() |> ofe_make_penvs() should be equivalent to your old ofe_grid_data().

Pls lemme know how you feel about this change, and if I've done it correctly!

Don't mind all of the evaluation stuff, accidentally committed and merged it all with main so its ugly as fuck and i couldn't be bothered cherry picking or whatever, sorry king!!

Thanks sir

@kaibagley kaibagley requested a review from Braden-Thorne May 27, 2026 08:57

@Braden-Thorne Braden-Thorne left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Outside of the missing parenthesis in the ofe_grid_data() function I see no technical issues, happy to merge once it is fixed.
Does the Roxygen documentation update automatically or does this need to be generated before merging? Curious so I know for the future.

Ps. The evaluation code looks cool!

Comment thread R/OFE_rotate_and_grid.R
dplyr::arrange(Rep, Col, Row),
original_data = data_out
)
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing a closing parenthesis here.

@Braden-Thorne

Copy link
Copy Markdown
Contributor

In terms of how I feel about it, I am very happy to see it separated from the gridding function. Ideally I would like to see some better pseudo-environment methods that use other columns of the dataframe to give more informative pseudo-environments, but I think that is a job for the future/another pull request.

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.

2 participants