The slots datedebut and datefin have to be filled before using charge
# S4 method for ref_coe
charge(object)
An object of class ref_coe-class
An object of class ref_coe-class
# NOT RUN {
object<- new('ref_coe')
object@datedebut<-strptime('01/01/1996',format='%d/%m/%Y')
object@datefin<-strptime('01/01/1997',format='%d/%m/%Y')
charge(object)
# }
Run the code above in your browser using DataLab