Describe the bug
When using ffs_starter_positions to get lineup constraints, it will not return positions that do not have a dedicated position. For a league that only uses flex positions, this means no positions get returned, or a league where TE only appear in flex positions, TEs do not get returned.
Reprex
#League with only FLEX and SUPER_FLEX
conn <- sleeper_connect(season = 2023, league_id = "923802429987151872")
lineup_constraints <- ffs_starter_positions(conn)
print(lineup_constraints)
#League with QB,RB, and WR specific lineup positions but not TE
conn <- sleeper_connect(season = 2023, league_id = "919288083936329728")
lineup_constraints <- ffs_starter_positions(conn)
print(lineup_constraints)
Expected behavior
I expected both lineup_constraints to contain 4 rows, one for each of QB, RB, WR, and TE.
Describe the bug When using ffs_starter_positions to get lineup constraints, it will not return positions that do not have a dedicated position. For a league that only uses flex positions, this means no positions get returned, or a league where TE only appear in flex positions, TEs do not get returned.
Reprex
Expected behavior I expected both lineup_constraints to contain 4 rows, one for each of QB, RB, WR, and TE.
Session information