DataONEorg / rdataone

R package for reading and writing data at DataONE data repositories
http://doi.org/10.5063/F1M61H5X
36 stars 19 forks source link

fix for case described in #285 #298

Closed jeanetteclark closed 2 years ago

jeanetteclark commented 2 years ago

also removes a chunk of code that would never be run because of some contradictory logic in the if statements. a simplified version is below. I removed the inner if statement which only printed a message

if (is.null(date){
        ....
        if (!is.null(date){
             ....
         }
}