Skip to content

osf_download returns corrupted files #143

@SHogenboom

Description

@SHogenboom

I was trying to understand the osfr package and tried to apply the following example from the [osfr documentation](

https://docs.ropensci.org/osfr/articles/getting_started.html#a-few-details-about-files-on-osf):

osf_retrieve_file("vbdah") %>%
  osf_download(excel_file)

This code does not work because the variable excel_file is not specified. Therefore I tried the code:

osf_retrieve_file("vbdah") %>%
  osf_download()

This appears to download the file (Calculating_Effect_Sizes.xlsx) while throwing the error:

Error in `.wb_download()`:
! The requested file (vbdah) could not be found in node `ixgcd`

When trying to access the file it turns out that it is in fact corrupted. I've had the same issue when trying to download zip files from url and identifier. Really not sure if I'm misunderstanding the documentation or that downloading directly from GUID no longer works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions