Global function definitions
smjenness opened this issue · 1 comments
smjenness commented
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
for ‘as.edgelist’
resim_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 for
‘as.edgelist’
resim_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 for
‘as.edgelist’
Undefined global functions or variables:
%n% %n%<- as.edgelist layer
Is this something we get also with EpiModelHIV? Is it an issue with imports?
AdrienLeGuillou commented
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