[R-pkg-devel] Question on a NOTE when testing a package
Uwe Ligges
ligges at statistik.tu-dortmund.de
Thu May 11 00:51:47 CEST 2017
On 11.05.2017 00:04, Jang Ik Cho wrote:
> Thank you very much for the response. I've already tried import from
> NAMESPACE but I got following message.
>
> checking package dependencies ... ERROR Namespace dependency not
> required: ‘MASS’
Come on, read Writing R Extensions. You have to declare it in the
DESCRIPTION file as
Imports: MASS
Best,
Uwe Ligges
>
>
> Is there any other solutions?
>
>
> -----
> Jang Ik Cho, MS
> Ph.D. Candidate
> Department of Epidemiology and Biostatistics
> Case Western Reserve University
> Graduate Research Assistant, SR2C
> Graduate Research Assistant, Louis Stokes Cleveland VA Medical Center
>
> On Wed, May 10, 2017 at 12:56 PM, Uwe Ligges
> <ligges at statistik.tu-dortmund.de
> <mailto:ligges at statistik.tu-dortmund.de>> wrote:
>
> Import from the MAS namespace.
>
> Best,
> Uwe Ligges
>
>
>
>
> On 10.05.2017 05:54, Jang Ik Cho wrote:
>
> I am getting the following messages as a note.
>
> checking R code for possible problems ... NOTExxxxxxxx: no visible
> global function definition for ‘glm.nb’xxxxxxxx: no visible global
> function definition for ‘rnegbin’Undefined global functions or
> variables: glm.nb rnegbin
>
>
> Both glm.nb and rnegbin is from MASS and I am having hard time
> resolving this issue because it lloks like we do not need to declare
> MASS library.
>
> Can anyone please help me to solve this issue and have the note to
> disappear?
>
> Thank you.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel at r-project.org
> <mailto:R-package-devel at r-project.org> mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
> <https://stat.ethz.ch/mailman/listinfo/r-package-devel>
>
>
More information about the R-package-devel
mailing list