Skip to content

Load Transactions issue : ff_transactions #299

@BarkovMVP

Description

@BarkovMVP

Describe the bug
A clear and concise description of what the bug is.
Error in format_error_bullets(x[-1]) :
nms %in% c("i", "x", "") are not all TRUE

Reprex
Please provide a short, reproducible example of the code you are trying to run.
For more on reprexes, check out https://reprex.tidyverse.org
**## Install Package
install.packages("ffscrapr")

Load Packages

library(ffscrapr)
library(dplyr)
library(tidyr)

Load League

To change, change League ID

FFLM <- ff_connect(platform = "sleeper", league_id = "649647301366755328", season = 2021)

League Settings

FFLM_summary <- ff_league(FFLM)
ff_league(FFLM) %>% str()

View Settings

str(FFLM_summary)

View Rosters

ff_rosters(FFLM)

Load Transactions

ff_transactions(FFLM)

Export League Rosters

Change File Export location "C:\xxxx\xx\xx\x\FileName.csv"

write.csv(FFLM_rosters,"C:\Users\Collin\Documents\Fantasy\FFLM_Rosters_6192021.csv", row.names = FALSE)**

 # Please include the code used for the connection object from `ff_connect()`

Expected behavior
A clear and concise description of what you expected to happen.
Load transactions
Session information
Please copy the output of sessionInfo() into the box below.

**Error in format_error_bullets(x[-1]) : 
  nms %in% c("i", "x", "") are not all TRUE**

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛an unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions