EpiModel/EpiModelCOVID

Global function definitions

smjenness opened this issue · 1 comments

In running R CMD check on ContactTrace, we are getting this as a NOTE:

   resim_nets_covid_contacttrace: no visible global function definition
     for ‘%n%<-resim_nets_covid_contacttrace: no visible global function definition
     for ‘%n%’
   resim_nets_covid_contacttrace: no visible global function definition
     foras.edgelistresim_nets_covid_corporate: no visible global function definition for
     ‘%n%<-resim_nets_covid_corporate: no visible global function definition for
     ‘%n%’
   resim_nets_covid_corporate: no visible global function definition foras.edgelistresim_nets_covid_ship: no visible global function definition for
     ‘%n%<-resim_nets_covid_ship: no visible global function definition for ‘%n%’
   resim_nets_covid_ship: no visible global function definition foras.edgelistUndefined global functions or variables:
     %n% %n%<- as.edgelist layer

Is this something we get also with EpiModelHIV? Is it an issue with imports?

these are functions in the network package that are not imported by EpiModelCOVID. In EpiModelHIV the full package in imported so no problem on there