When writing my own R package, I can't seem to get other packages to import correctly
问题 Alright, first attempt at writing an R package and I'm stuck. Here's how I create the package: package.skeleton("pkg",code_files=some.filenames) roxygenize("okg") I'm using roxygen2 and have the following imports in my "pkg-package.R" file: @import data.table zoo lubridate From a terminal, I then run: R CMD build pkg R CMD check pkg R CMD install pkg During the check phase, I get the following warnings: ** preparing package for lazy loading Warning: replacing previous import ‘hour’ when