morinlab / GAMBLR

Set of standardized functions to operate with genomic data
https://morinlab.github.io/GAMBLR/
MIT License
3 stars 2 forks source link

devtools::check() fails on inappropriate use of non-exported functions #171

Closed Kdreval closed 1 year ago

Kdreval commented 1 year ago
❯ checking dependencies in R code ... WARNING
  '::' or ':::' imports not declared from:
    ‘file.dplyr’ ‘glue’ ‘lubridate’ ‘plyr’ ‘ssh’ ‘stringi’
  'library' or 'require' call not declared from: ‘ggthemes’
  'loadNamespace' or 'requireNamespace' call not declared from: ‘ssh’
  'library' or 'require' call to ‘ggthemes’ in package code.
    Please use :: or requireNamespace() instead.
    See section 'Suggested packages' in the 'Writing R Extensions' manual.
  ':::' call which should be '::': ‘maftools:::getSampleSummary’
    See the note in ?`:::` about the use of this operator.
  Unexported object imported by a ':::' call: ‘maftools:::createOncoMatrix’
    See the note in ?`:::` about the use of this operator.
Kdreval commented 1 year ago

This turned out to be a host of different issues combined under one warning. All were resolved in the #177