-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
Description
I'm using the latest version of googlesheets4 (1.1.2), running on R 4.5.1 and the latest Rstudio on Linux (Fedora 42), with all of my packages fully updated. It has always run great for me, and I can still read sheets without a problem. But today for the first time I got a strange error when I'm writing a sheet.
students %>%
+ sheet_write(gsheet.main, sheet = "Roster")
This is a simple tibble with the following columns.

gsheet.main is the unique ID of the google sheet, which already exists.
This leads to the following error:
Error in
map()
:
ℹ In index: 1.
Caused by error incheck_against_schema()
:
! Properties not recognized for the Sheet schema:
✖ tables
Runrlang::last_trace()
to see where the error occurred.
The trace reveals:
Backtrace:
▆
- ├─students %>% sheet_write(gsheet.main, sheet = "Roster")
- └─googlesheets4::sheet_write(., gsheet.main, sheet = "Roster")
- └─googlesheets4:::sheet_add_impl_(ssid, sheet_name = sheet)
└─googlesheets4:::new_googlesheets4_spreadsheet(resp$updatedSpreadsheet)
└─purrr::map(x$sheets, ~new("Sheet", !!!.x))
└─purrr:::map_("list", .x, .f, ..., .progress = .progress)
├─purrr:::with_indexed_errors(...)
│ └─base::withCallingHandlers(...)
├─purrr:::call_with_cleanup(...)
└─googlesheets4 (local) .f(.x[[i]], ...)
└─googlesheets4:::new("Sheet", !!!.x)
└─googlesheets4:::check_against_schema(dots, schema = schema)
I'm happy to give you any other info you might need.