[R-pkg-devel] error when submit a package

Paul Hibbing p@u|h|bb|ng @end|ng |rom gm@||@com
Fri Jun 26 21:31:17 CEST 2020


* The fourth can likely be addressed by if(getRversion() >= "2.15.1")
utils::globalVariables(c("IV", "M", "filename2id", "wear_flag"))

See https://github.com/tidyverse/magrittr/issues/29

* The fifth suggests you need to replace the default vignette title
with something specific to your package.

* The sixth (on Debian) could be fixed by adding
STUDYNAME_part0.maincall.R to .Rbuildignore. But the filename suggests
you need that file in your R directory, not ignored...

Hope that helps.
-Paul

On Fri, Jun 26, 2020 at 3:21 PM Zehao Xu <z267xu using uwaterloo.ca> wrote:
>
> Well,
>
>
> The first note can be ignored (Note that you are the maintainer),
>
>
> the second one
>
> ```
>
> Maintainer: 'Wei Guoi <wei.guo3 using nih.gov>'
>   Authors using R:  'Wei Guo <wei.guo3 using nih.gov>'
>
> ```
>
> clearly, you miss spelled your name...
>
>
> the third one,
>
> ```
>
> checking package dependencies ... NOTE
> Package suggested but not available for checking: 'actigraphy'
>
> ```
>
> This stackoverflow https://stackoverflow.com/questions/51453717/issue-with-r-package-check-on-windows-package-suggested-but-not-available-str can solve you problem
>
>
>
> the fourth one
>
> ```
>
> IV_long2: no visible binding for global variable 'IV'
> Time_long2: no visible global function definition for 'wear_flag'
>
> ```
>
> It looks like you are using some variables not well defined in your namespace, try to search "IV" and "wear_flag" in your package. Both of them seem missing somehow.
>
>
> the fifth
>
> ```
>
> Package vignette with placeholder title 'Vignette Title':
>
> ```
>
> To be honest, I have no idea. What I suppose is that you use some illegal chars in your vignette title.  It would be helpful if your share your rmakrdown ymal.
>
>
> Best
>
> Zehao
>
> ________________________________
> From: R-package-devel <r-package-devel-bounces using r-project.org> on behalf of Bert Gunter <bgunter.4567 using gmail.com>
> Sent: Friday, June 26, 2020 3:55:44 PM
> To: Guo, Wei (NIH/NIMH) [C]
> Cc: r-package-devel using r-project.org
> Subject: Re: [R-pkg-devel] error when submit a package
>
> Did you not post this before and receive answers? Please explain why the
> previous answers were insufficient. "Some notes are not fixable" is not a
> satisfactory response.
>
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along and
> sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>
>
> On Fri, Jun 26, 2020 at 11:50 AM Guo, Wei (NIH/NIMH) [C] via
> R-package-devel <r-package-devel using r-project.org> wrote:
>
> > Good afternoon,
> >
> > I am trying to submit my package to CRAN, and it failed to pass the checks
> > due to 5 notes. I am wondering how to fix it.
> >
> > Within the 5 notes, some are not fixable.
> > Thanks.
> > Best,
> > Wei
> >
> >
> >
> > Dear maintainer,
> >
> > package postGGIR_2.0.0.tar.gz does not pass the incoming checks
> > automatically, please see the following pre-tests:
> >
> > Windows: <
> > https://win-builder.r-project.org/incoming_pretest/postGGIR_2.0.0_20200626_200952/Windows/00check.log
> > >
> >
> > Status: 5 NOTEs
> >
> > Debian: <
> > https://win-builder.r-project.org/incoming_pretest/postGGIR_2.0.0_20200626_200952/Debian/00check.log
> > >
> >
> > Status: 6 NOTEs
> >
> >
> > ...................................................................................................
> > Wei Guo [C] | Biostatistician
> > National Institute of Mental Health (NIMH)
> > E-mail: wei.guo3 using nih.gov<mailto:wei.guo3 using nih.gov>
> > Tel: 301-435-2206
> > 35 Convent Dr, Bethesda,MD,20892
> >
> >
> >         [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-package-devel using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
> >
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list