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

undefined variable `repair` #219

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

I was running check(), and came across an unreferenced variable repair on line 560 of D1Client:


    dpkg@relations[['updated']] <- TRUE
  } else {
    dpkg@relations[['updated']] <- FALSE 
  }```

Looks like it was added recently:  https://github.com/DataONEorg/rdataone/commit/552c5c77
Maybe @gothub, you might have some uncommitted code?
gothub commented 6 years ago

Yes, this was an error - this change was not needed, and I've removed it.