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

2020-06-26 Thread Guo, Wei (NIH/NIMH) [C] via R-package-devel
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  
Sent: Friday, June 26, 2020 5:23 PM
To: Zehao Xu 
Cc: Bert Gunter ; Guo, Wei (NIH/NIMH) [C] 
; r-package-devel@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 | e...@debian.org

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2020-06-26 Thread Dirk Eddelbuettel


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 | e...@debian.org

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2020-06-26 Thread Paul Hibbing
* 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  wrote:
>
> Well,
>
>
> The first note can be ignored (Note that you are the maintainer),
>
>
> the second one
>
> ```
>
> Maintainer: 'Wei Guoi '
>   Authors@R:  'Wei Guo '
>
> ```
>
> 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  on behalf of 
> Bert Gunter 
> Sent: Friday, June 26, 2020 3:55:44 PM
> To: Guo, Wei (NIH/NIMH) [C]
> Cc: r-package-devel@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  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.g...@nih.gov
> > Tel: 301-435-2206
> > 35 Convent Dr, Bethesda,MD,20892
> >
> >
> > [[alternative HTML version deleted]]
> >
> > __
> > R-package-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
> >
>
> [[alternative HTML version deleted]]
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
> [[alternative HTML version deleted]]
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2020-06-26 Thread Zehao Xu
Well,


The first note can be ignored (Note that you are the maintainer),


the second one

```

Maintainer: 'Wei Guoi '
  Authors@R:  'Wei Guo '

```

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  on behalf of Bert 
Gunter 
Sent: Friday, June 26, 2020 3:55:44 PM
To: Guo, Wei (NIH/NIMH) [C]
Cc: r-package-devel@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  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.g...@nih.gov
> Tel: 301-435-2206
> 35 Convent Dr, Bethesda,MD,20892
>
>
> [[alternative HTML version deleted]]
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2020-06-26 Thread Bert Gunter
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  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.g...@nih.gov
> Tel: 301-435-2206
> 35 Convent Dr, Bethesda,MD,20892
>
>
> [[alternative HTML version deleted]]
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


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

2020-06-26 Thread Guo, Wei (NIH/NIMH) [C] via R-package-devel
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: 


Status: 5 NOTEs

Debian: 


Status: 6 NOTEs

...
Wei Guo [C] | Biostatistician
National Institute of Mental Health (NIMH)
E-mail: wei.g...@nih.gov
Tel: 301-435-2206
35 Convent Dr, Bethesda,MD,20892


[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel