googledrive
googledrive copied to clipboard
Drive shared folder shortcut not working properly
I'm trying to read files in a shared folder in drive, and i can get to the folder
drive_ls('~/Shared Folder/')
ℹ Parent specified via `path` is a shortcut; resolving to its target folder
ℹ Resolved 1 shortcut found in 1 file:
• Shared Folder <id: 1P9vpcQQxzElp9kk8VTIRXGjPAYO0NQNq> ->
Shared Folder <id: 1M--hOkbgk-24hgbISNonxIRwMAGjkws_>
But if i try to get to a subfolder or get a file from said folder, it can't find it.
drive_ls('~/Shared Folder/Dataset')
Error in `as_parent()`:
! Parent specified via `path` is invalid:
✖ Does not exist.
Traceback:
1. drive_ls("~/Shared Folder/Dataset")
2. as_parent(path)
3. drive_abort(c(invalid_parent, x = "Does not exist."))
4. cli::cli_abort(message = message, ..., .envir = .envir)
5. rlang::abort(message, ..., call = call, use_cli_format = TRUE)
6. signal_abort(cnd, .file)