r-lib / R6

Encapsulated object-oriented programming for R
https://R6.r-lib.org
Other
403 stars 56 forks source link

More informative error for non-unique item names #275

Open jennybc opened 1 year ago

jennybc commented 1 year ago

If possible, it would be great if this error told me which names R6 thinks are not unique.

> devtools::load_all(".")
ℹ Loading gargle
Error in `load_all()`:
! Failed to load R/AuthState-class.R
Caused by error in `R6::R6Class()`:
! All items in public, private, and active must have unique names.
maciekbanas commented 6 days ago

I just wanted to create same issue, but here it goes...