Skip to content

Spotrac functions are not working #392

@Marblebaseball

Description

@Marblebaseball

Both of the Spotrac functions return errors.

For example, when I excute the following code using team payroll function, the error message I wrote under the code appears.
sptrc_team_active_payroll(team_abbr = "PHI",year=2026)

2026-01-14 16:09:17.125165: Invalid arguments or no contract data available!
Error in baseballr::sptrc_team_active_payroll(team_abbr = "PHI") :
object 'Active_Payroll' not found

For league payroll functions, it is almost the same thing.

sptrc_league_payrolls()

2026-01-14 16:15:17.37005: Invalid arguments or no contract data available!
Error in baseballr::sptrc_league_payrolls() :
object 'league_payroll' not found

My environment:
Windows 11 25H2
R 4.5.2
baseballr 1.6.0.9002 (Installed via GitHub)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions