> On 7 Jul 2021, at 14:08, Uwe Ligges <lig...@statistik.tu-dortmund.de> wrote:
>
>>> Namespace dependencies missing from DESCRIPTION Imports/Depends entries:
>>> 'MNITemplate', 'RAVEL', 'extrantsr'
>
>
> As the message says: You likely have declared some import directives via the
> NAMESPACE file. In that case you have to import from a package and hence list
> it in the Imports field.
>
> If the package is not available from a mainsteam repository and you want to
> suggest it only, you cannot import from it via the NAMESPACE file.
As in
https://github.com/DavidPayares/neuronorm/blob/eeb6249a3da5412cf3632e2a41233400707ef01b/NAMESPACE#L12-L17
importFrom(MNITemplate,getMNIPath)
importFrom(MNITemplate,readMNI)
importFrom(RAVEL,maskIntersect)
importFrom(RAVEL,normalizeRAVEL)
importFrom(extrantsr,ants_regwrite)
importFrom(extrantsr,bias_correct)
>From roxygen2 directives like this:
https://github.com/DavidPayares/neuronorm/blob/b0ca02478dcf7d5a61dad97ada407edf6b2da962/R/preprocessing.R#L209
Best,
Greg.
--
Gregory Jefferis, PhD
Division of Neurobiology
MRC Laboratory of Molecular Biology
Francis Crick Avenue
Cambridge Biomedical Campus
Cambridge, CB2 OQH, UK
http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis
http://jefferislab.org
http://www.zoo.cam.ac.uk/departments/connectomics
______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel