rfhb / ctrdata

Aggregate and analyse information on clinical trials from public registers
https://rfhb.github.io/ctrdata/
Other
41 stars 5 forks source link

When downloading results from EUCTR, sometimes fails due to error with invalid argument #28

Closed zhengzheli closed 8 months ago

zhengzheli commented 8 months ago
if (any(!saved)) {
                warning("Could not save ", nonXmlFiles[!saved],
                        call. = FALSE, immediate. = TRUE)
              }

the variable saved is an invalid argument. After commenting out this clause it worked.

rfhb commented 8 months ago
zhengzheli commented 8 months ago

@rfhb , thank you for your work on this library, and I can confirm this fixed the issue, thanks!