Failed to build from source without DT · Issue #2 · calabrialab/ISAnalytics (original) (raw)

I have checked that DT is in Suggests, so I take it as optional dependency and don't install it. But the package failed to be built, the relevant log is

==> Starting build()...
* installing *source* package ‘ISAnalytics’ ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(x) : there is no package called ‘DT’
Error: unable to load R code in package ‘ISAnalytics’
Execution halted
ERROR: lazy loading failed for package ‘ISAnalytics’
* removing ‘/build/r-isanalytics/src/ISAnalytics’
* restoring previous ‘/build/r-isanalytics/src/ISAnalytics’
==> ERROR: A failure occurred in build().

For the full log, see https://build.bioarchlinux.org/api/pkg/r-isanalytics/log/1669481609

Perhaps DT should be in Depends or Imports?