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 at nih.gov<mailto:wei.guo3 at nih.gov> Tel: 301-435-2206 35 Convent Dr, Bethesda,MD,20892
[R-pkg-devel] error when submit a package
6 messages · Guo, Wei (NIH/NIMH) [C], Bert Gunter, Zehao Xu +2 more
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 at 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 at nih.gov<mailto:wei.guo3 at nih.gov>
Tel: 301-435-2206
35 Convent Dr, Bethesda,MD,20892
[[alternative HTML version deleted]]
______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Well, The first note can be ignored (Note that you are the maintainer), the second one ``` Maintainer: 'Wei Guoi <wei.guo3 at nih.gov>' Authors at R: 'Wei Guo <wei.guo3 at 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 at r-project.org> on behalf of Bert Gunter <bgunter.4567 at gmail.com>
Sent: Friday, June 26, 2020 3:55:44 PM
To: Guo, Wei (NIH/NIMH) [C]
Cc: r-package-devel at r-project.org
Subject: Re: [R-pkg-devel] error when submit a package
Sent: Friday, June 26, 2020 3:55:44 PM
To: Guo, Wei (NIH/NIMH) [C]
Cc: r-package-devel at 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 at 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 at nih.gov<mailto:wei.guo3 at nih.gov> > Tel: 301-435-2206 > 35 Convent Dr, Bethesda,MD,20892 > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-package-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel > [[alternative HTML version deleted]] ______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
* 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 at uwaterloo.ca> wrote:
Well, The first note can be ignored (Note that you are the maintainer), the second one ``` Maintainer: 'Wei Guoi <wei.guo3 at nih.gov>' Authors at R: 'Wei Guo <wei.guo3 at 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 at r-project.org> on behalf of Bert Gunter <bgunter.4567 at gmail.com> Sent: Friday, June 26, 2020 3:55:44 PM To: Guo, Wei (NIH/NIMH) [C] Cc: r-package-devel at 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 at 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 at nih.gov<mailto:wei.guo3 at nih.gov> Tel: 301-435-2206 35 Convent Dr, Bethesda,MD,20892 [[alternative HTML version deleted]] ______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel [[alternative HTML version deleted]] ______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel [[alternative HTML version deleted]] ______________________________________________ R-package-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
On 26 June 2020 at 19:16, Zehao Xu wrote:
| 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 No, wrong analysis. This SO answer is for _within CRAN_ depedency graphs. Mr Guo has a problem with a package _outside of CRAN_ he chooses to depends upon. That will *never work*. I answered on this list _just yesterday_ how I would address this, including a relevant peer-review reference. If Mr Gup chooses to ignore such advice and just spams us daily I suppose we may choose to ignore his emails. Oh well. Dirk
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Thank you all for the help. I do ask a question about a package _outside of CRAN yesterday. But I have new questions today about the global variable undefined, which was read from an Rdata object. Thank you for your kind help again. Best, Wei -----Original Message----- From: Dirk Eddelbuettel <edd at debian.org> Sent: Friday, June 26, 2020 5:23 PM To: Zehao Xu <z267xu at uwaterloo.ca> Cc: Bert Gunter <bgunter.4567 at gmail.com>; Guo, Wei (NIH/NIMH) [C] <wei.guo3 at nih.gov>; r-package-devel at r-project.org Subject: Re: [R-pkg-devel] error when submit a package
On 26 June 2020 at 19:16, Zehao Xu wrote:
| Package suggested but not available for checking: 'actigraphy' | | ``` | | This stackoverflow | https://stackoverflow.com/questions/51453717/issue-with-r-package-chec | k-on-windows-package-suggested-but-not-available-str can solve you | problem No, wrong analysis. This SO answer is for _within CRAN_ depedency graphs. Mr Guo has a problem with a package _outside of CRAN_ he chooses to depends upon. That will *never work*. I answered on this list _just yesterday_ how I would address this, including a relevant peer-review reference. If Mr Gup chooses to ignore such advice and just spams us daily I suppose we may choose to ignore his emails. Oh well. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org