You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the recursive structure of PoolPrev() and HierPoolPrev(), I exported the CheckInputData() as a function for users to apply directly. I attempted to implement within PoolPrev() and HierPoolPrev(), but the recursion limits the use of the checks. The main issue was that restricting the input data meant when the function called again, it raised an error (i.e., input data type went from data.frame to tibble) and I couldn't see a clear way to distinguish the initial and subsequent calls without adding another input variable to the functions.
There is probably a better way to implement the checks within these functions, which I leave as an exercise to the next developer!
Complete
test-suite
branch on Caitlin's fork and merge to mainPoolPrev()
with input data checksPoolPrev()
issuesHierPoolPrev()
with input data checksHierPoolPrev()
issuesThe text was updated successfully, but these errors were encountered: