Re: [R-pkg-devel] bioconductor package required but not available

2020-09-01 Thread Martin Morgan
Here is the build report for KEGGgraph

http://bioconductor.org/packages/release/bioc/html/KEGGgraph.html

where it builds, and is available, across all platforms. This does not seem to 
be a Bioconductor problem, but rather a CRAN configuration issue.

Martin Morgan
Bioconductor

On 9/1/20, 12:05 PM, "R-package-devel on behalf of Jendoubi Bedhiafi, Takoua" 
 wrote:

Hi all,

All checks for my updated package seem to be all fine except for  
r-release-macos-x86_64 

 .
KEGGgraph a bio conductor package is required for my package to run but is 
not available on the platform.

It is however available on the devel version.
Full log below:

https://www.r-project.org/nosvn/R.check/r-release-macos-x86_64/iCARH-00check.html

Does this mean the package might be removed from CRAN?

Thanks in advance,
bw,

Dr. Takoua Jendoubi, PhD, MSc, PGCert ULT, FHEA
Strategic Teaching Fellow in Statistics

Statistics section | Department of Mathematics |
Imperial College London | Room 533 |
South Kensington Campus | London |
SW7 2AZ |


[[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] Modeltime 0.1.0 Submission Failing - Not Sure What To Do

2020-09-01 Thread Matt Dancho
Oh, I missed that. Thank you Max and Duncan!

*Matt Dancho | Founder, CEO | Business Science*
p: 570-419-4337 <(570)%20419-4337> | www.business-science.io

Want to learn Data Science for Business? Get started today with Business
Science .

 


On Tue, Sep 1, 2020 at 12:23 PM Max Turgeon 
wrote:

> Hi Matt,
>
>
> If you addressed the issues with the current CRAN version, then I would go
> with Duncan's suggestion below and treat this as a false positive.
>
>
> Best,
>
>
> Max Turgeon
> Assistant Professor
> Department of Statistics
> Department of Computer Science
> University of Manitoba
> maxturgeon.ca
>
>
> --
> *From:* Matt Dancho 
> *Sent:* September 1, 2020 11:18:52 AM
> *To:* Duncan Murdoch
> *Cc:* Max Turgeon; r-package-devel@r-project.org
> *Subject:* Re: [R-pkg-devel] Modeltime 0.1.0 Submission Failing - Not
> Sure What To Do
>
> *Caution:* This message was sent from outside the University of Manitoba.
> Hi Max,
>
> I appreciate the quick response - The webshot should no longer be an
> issue. My latest submission has only one vignette and I switched all of the
> plots from interactive (which uses webshot to convert to PNG) to ggplot2 so
> webshot should not be necessary.
>
> I think the CRAN Modeltime 0.2.0 results should be corrected. The only one
> I see that may still be an issue is the prophet library, which modeltime
> uses.
>
> What do you think?
>
> *Matt Dancho | Founder, CEO | Business Science*
> p: 570-419-4337 <(570)%20419-4337> | www.business-science.io
>
> Want to learn Data Science for Business? Get started today with Business
> Science .
>
>  
>
>
> On Tue, Sep 1, 2020 at 12:00 PM Duncan Murdoch 
> wrote:
>
>> On 01/09/2020 11:52 a.m., Max Turgeon wrote:
>> > Hi Matt,
>> >
>> >
>> > If you scroll down just below the Windows and Debian OKs, you'll see
>> these lines:
>> >
>> >
>> > Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
>> > See: <
>> https://CRAN.R-project.org/web/checks/check_results_modeltime.html
>> > >
>> >
>> >
>> > It seems one of your vignettes is causing issues when trying to use
>> phantomJS.
>>
>> That message is about the version that's on CRAN, not the new
>> submission.  I think Matt should just follow this directions:  "If you
>> are fairly certain the rejection is a false positive, please reply-all
>> to this message and explain."  Having OK results rejected sure seems
>> like a false positive!
>>
>> Duncan Murdoch
>>
>> >
>> >
>> > Best,
>> >
>> >
>> > Max Turgeon
>> > Assistant Professor
>> > Department of Statistics
>> > Department of Computer Science
>> > University of Manitoba
>> > maxturgeon.ca
>> >
>> >
>> > 
>> > From: R-package-devel  on
>> behalf of Matt Dancho 
>> > Sent: September 1, 2020 10:26:06 AM
>> > To: r-package-devel@r-project.org
>> > Subject: [R-pkg-devel] Modeltime 0.1.0 Submission Failing - Not Sure
>> What To Do
>> >
>> > 
>> > Caution: This message was sent from outside the University of Manitoba.
>> > 
>> >
>> > Hi,
>> >
>> > I'm having a difficult time with the pre-tests for Modeltime 0.1.0, a
>> new
>> > version that I'm trying to get onto CRAN. The pre-tests indicate
>> Windows &
>> > Debian are OK. Any help would be much appreciated.
>> >
>> > Thanks, Matt
>> >
>> >
>> > *CRAN Pretest Results*
>> >
>> > Dear maintainer,
>> >
>> > package modeltime_0.1.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/modeltime_0.1.0_20200901_161424/Windows/00check.log
>> >>
>> > Status: OK
>> > Debian: <
>> >
>> https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/Debian/00check.log
>> >>
>> > Status: OK
>> >
>> > Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
>> > See: <
>> https://CRAN.R-project.org/web/checks/check_results_modeltime.html
>> > >
>> >
>> > CRAN Web: 
>> >
>> > Please fix all problems and resubmit a fixed version via the webform.
>> > If you are not sure how to fix the problems shown, please ask for help
>> on
>> > the R-package-devel mailing list:
>> > 
>> > If you are fairly certain the rejection is a false positive, please
>> > reply-all to this message and explain.
>> >
>> > More details are given in the directory:
>> > <
>> >
>> https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_202

Re: [R-pkg-devel] Modeltime 0.1.0 Submission Failing - Not Sure What To Do

2020-09-01 Thread Matt Dancho
Hi Max,

I appreciate the quick response - The webshot should no longer be an issue.
My latest submission has only one vignette and I switched all of the plots
from interactive (which uses webshot to convert to PNG) to ggplot2 so
webshot should not be necessary.

I think the CRAN Modeltime 0.2.0 results should be corrected. The only one
I see that may still be an issue is the prophet library, which modeltime
uses.

What do you think?

*Matt Dancho | Founder, CEO | Business Science*
p: 570-419-4337 <(570)%20419-4337> | www.business-science.io

Want to learn Data Science for Business? Get started today with Business
Science .

 


On Tue, Sep 1, 2020 at 12:00 PM Duncan Murdoch 
wrote:

> On 01/09/2020 11:52 a.m., Max Turgeon wrote:
> > Hi Matt,
> >
> >
> > If you scroll down just below the Windows and Debian OKs, you'll see
> these lines:
> >
> >
> > Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
> > See:  > >
> >
> >
> > It seems one of your vignettes is causing issues when trying to use
> phantomJS.
>
> That message is about the version that's on CRAN, not the new
> submission.  I think Matt should just follow this directions:  "If you
> are fairly certain the rejection is a false positive, please reply-all
> to this message and explain."  Having OK results rejected sure seems
> like a false positive!
>
> Duncan Murdoch
>
> >
> >
> > Best,
> >
> >
> > Max Turgeon
> > Assistant Professor
> > Department of Statistics
> > Department of Computer Science
> > University of Manitoba
> > maxturgeon.ca
> >
> >
> > 
> > From: R-package-devel  on behalf
> of Matt Dancho 
> > Sent: September 1, 2020 10:26:06 AM
> > To: r-package-devel@r-project.org
> > Subject: [R-pkg-devel] Modeltime 0.1.0 Submission Failing - Not Sure
> What To Do
> >
> > 
> > Caution: This message was sent from outside the University of Manitoba.
> > 
> >
> > Hi,
> >
> > I'm having a difficult time with the pre-tests for Modeltime 0.1.0, a new
> > version that I'm trying to get onto CRAN. The pre-tests indicate Windows
> &
> > Debian are OK. Any help would be much appreciated.
> >
> > Thanks, Matt
> >
> >
> > *CRAN Pretest Results*
> >
> > Dear maintainer,
> >
> > package modeltime_0.1.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/modeltime_0.1.0_20200901_161424/Windows/00check.log
> >>
> > Status: OK
> > Debian: <
> >
> https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/Debian/00check.log
> >>
> > Status: OK
> >
> > Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
> > See:  > >
> >
> > CRAN Web: 
> >
> > Please fix all problems and resubmit a fixed version via the webform.
> > If you are not sure how to fix the problems shown, please ask for help on
> > the R-package-devel mailing list:
> > 
> > If you are fairly certain the rejection is a false positive, please
> > reply-all to this message and explain.
> >
> > More details are given in the directory:
> > <
> >
> https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/
> >>
> > The files will be removed after roughly 7 days.
> >
> > No strong reverse dependencies to be checked.
> >
> > Best regards,
> > CRAN teams' auto-check service
> > Flavor: r-devel-windows-ix86+x86_64
> > Check: CRAN incoming feasibility, Result: NA
> >Maintainer: 'Matt Dancho '
> >
> > Flavor: r-devel-windows-ix86+x86_64
> > Check: Overall checktime, Result: NOTE
> >Overall checktime 16 min > 10 min
> >
> > Flavor: r-devel-linux-x86_64-debian-gcc
> > Check: CRAN incoming feasibility, Result: Note_to_CRAN_maintainers
> >Maintainer: 'Matt Dancho '
> >
> >
> >
> > *Matt Dancho | Founder, CEO | Business Science*
> > p: 570-419-4337 <(570)%20419-4337> | www.business-science.io<
> http://www.business-science.io>
> >
> > Want to learn Data Science for Business? Get started today with Business
> > Science .
> >
> >  
> >
> >  [[alternative HTML version deleted]]
> >
> > __
> > R-package-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
> >
> >
> >   [[alternative 

Re: [R-pkg-devel] Modeltime 0.1.0 Submission Failing - Not Sure What To Do

2020-09-01 Thread Max Turgeon
Hi Matt,


If you addressed the issues with the current CRAN version, then I would go with 
Duncan's suggestion below and treat this as a false positive.


Best,


Max Turgeon
Assistant Professor
Department of Statistics
Department of Computer Science
University of Manitoba
maxturgeon.ca



From: Matt Dancho 
Sent: September 1, 2020 11:18:52 AM
To: Duncan Murdoch
Cc: Max Turgeon; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] Modeltime 0.1.0 Submission Failing - Not Sure What 
To Do

Caution: This message was sent from outside the University of Manitoba.
Hi Max,

I appreciate the quick response - The webshot should no longer be an issue. My 
latest submission has only one vignette and I switched all of the plots from 
interactive (which uses webshot to convert to PNG) to ggplot2 so webshot should 
not be necessary.

I think the CRAN Modeltime 0.2.0 results should be corrected. The only one I 
see that may still be an issue is the prophet library, which modeltime uses.

What do you think?

Matt Dancho | Founder, CEO | Business Science
p: 570-419-4337 | 
www.business-science.io

Want to learn Data Science for Business? Get started today with Business 
Science.

[https://github.com/mdancho84/mdancho84.github.io/blob/master/img/social/bizsci.png?raw=true][https://github.com/mdancho84/mdancho84.github.io/blob/master/img/social/linkedin.png?raw=true][https://github.com/mdancho84/mdancho84.github.io/blob/master/img/social/twitter.png?raw=true]


On Tue, Sep 1, 2020 at 12:00 PM Duncan Murdoch 
mailto:murdoch.dun...@gmail.com>> wrote:
On 01/09/2020 11:52 a.m., Max Turgeon wrote:
> Hi Matt,
>
>
> If you scroll down just below the Windows and Debian OKs, you'll see these 
> lines:
>
>
> Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
> See:  >
>
>
> It seems one of your vignettes is causing issues when trying to use phantomJS.

That message is about the version that's on CRAN, not the new
submission.  I think Matt should just follow this directions:  "If you
are fairly certain the rejection is a false positive, please reply-all
to this message and explain."  Having OK results rejected sure seems
like a false positive!

Duncan Murdoch

>
>
> Best,
>
>
> Max Turgeon
> Assistant Professor
> Department of Statistics
> Department of Computer Science
> University of Manitoba
> maxturgeon.ca
>
>
> 
> From: R-package-devel 
> mailto:r-package-devel-boun...@r-project.org>>
>  on behalf of Matt Dancho 
> mailto:mdan...@business-science.io>>
> Sent: September 1, 2020 10:26:06 AM
> To: r-package-devel@r-project.org
> Subject: [R-pkg-devel] Modeltime 0.1.0 Submission Failing - Not Sure What To 
> Do
>
> 
> Caution: This message was sent from outside the University of Manitoba.
> 
>
> Hi,
>
> I'm having a difficult time with the pre-tests for Modeltime 0.1.0, a new
> version that I'm trying to get onto CRAN. The pre-tests indicate Windows &
> Debian are OK. Any help would be much appreciated.
>
> Thanks, Matt
>
>
> *CRAN Pretest Results*
>
> Dear maintainer,
>
> package modeltime_0.1.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/modeltime_0.1.0_20200901_161424/Windows/00check.log
>>
> Status: OK
> Debian: <
> https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/Debian/00check.log
>>
> Status: OK
>
> Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
> See:  >
>
> CRAN Web: 
>
> Please fix all problems and resubmit a fixed version via the webform.
> If you are not sure how to fix the problems shown, please ask for help on
> the R-package-devel mailing list:
> 
> If you are fairly certain the rejection is a false positive, please
> reply-all to this message and explain.
>
> More details are given in the directory:
> <
> https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/
>>
> The files will be removed after roughly 7 days.
>
> No strong reverse dependencies to be checked.
>
> Best regards,
> CRAN teams' auto-check service
> Flavor: r-devel-windows-ix86+x86_64
> Check: CRAN incoming feasibility, Result: NA
>Maintainer: 'Matt 

[R-pkg-devel] bioconductor package required but not available

2020-09-01 Thread Jendoubi Bedhiafi, Takoua
Hi all,

All checks for my updated package seem to be all fine except for  
r-release-macos-x86_64 

 .
KEGGgraph a bio conductor package is required for my package to run but is not 
available on the platform.

It is however available on the devel version.
Full log below:
https://www.r-project.org/nosvn/R.check/r-release-macos-x86_64/iCARH-00check.html

Does this mean the package might be removed from CRAN?

Thanks in advance,
bw,

Dr. Takoua Jendoubi, PhD, MSc, PGCert ULT, FHEA
Strategic Teaching Fellow in Statistics

Statistics section | Department of Mathematics |
Imperial College London | Room 533 |
South Kensington Campus | London |
SW7 2AZ |


[[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] Modeltime 0.1.0 Submission Failing - Not Sure What To Do

2020-09-01 Thread Duncan Murdoch

On 01/09/2020 11:52 a.m., Max Turgeon wrote:

Hi Matt,


If you scroll down just below the Windows and Debian OKs, you'll see these 
lines:


Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
See: >


It seems one of your vignettes is causing issues when trying to use phantomJS.


That message is about the version that's on CRAN, not the new 
submission.  I think Matt should just follow this directions:  "If you 
are fairly certain the rejection is a false positive, please reply-all 
to this message and explain."  Having OK results rejected sure seems 
like a false positive!


Duncan Murdoch




Best,


Max Turgeon
Assistant Professor
Department of Statistics
Department of Computer Science
University of Manitoba
maxturgeon.ca



From: R-package-devel  on behalf of Matt 
Dancho 
Sent: September 1, 2020 10:26:06 AM
To: r-package-devel@r-project.org
Subject: [R-pkg-devel] Modeltime 0.1.0 Submission Failing - Not Sure What To Do


Caution: This message was sent from outside the University of Manitoba.


Hi,

I'm having a difficult time with the pre-tests for Modeltime 0.1.0, a new
version that I'm trying to get onto CRAN. The pre-tests indicate Windows &
Debian are OK. Any help would be much appreciated.

Thanks, Matt


*CRAN Pretest Results*

Dear maintainer,

package modeltime_0.1.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/modeltime_0.1.0_20200901_161424/Windows/00check.log



Status: OK
Debian: <
https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/Debian/00check.log



Status: OK

Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
See: >

CRAN Web: 

Please fix all problems and resubmit a fixed version via the webform.
If you are not sure how to fix the problems shown, please ask for help on
the R-package-devel mailing list:

If you are fairly certain the rejection is a false positive, please
reply-all to this message and explain.

More details are given in the directory:
<
https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/



The files will be removed after roughly 7 days.

No strong reverse dependencies to be checked.

Best regards,
CRAN teams' auto-check service
Flavor: r-devel-windows-ix86+x86_64
Check: CRAN incoming feasibility, Result: NA
   Maintainer: 'Matt Dancho '

Flavor: r-devel-windows-ix86+x86_64
Check: Overall checktime, Result: NOTE
   Overall checktime 16 min > 10 min

Flavor: r-devel-linux-x86_64-debian-gcc
Check: CRAN incoming feasibility, Result: Note_to_CRAN_maintainers
   Maintainer: 'Matt Dancho '



*Matt Dancho | Founder, CEO | Business Science*
p: 570-419-4337 <(570)%20419-4337> | 
www.business-science.io

Want to learn Data Science for Business? Get started today with Business
Science .

 

 [[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] Modeltime 0.1.0 Submission Failing - Not Sure What To Do

2020-09-01 Thread Max Turgeon
Hi Matt,


If you scroll down just below the Windows and Debian OKs, you'll see these 
lines:


Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
See: >


It seems one of your vignettes is causing issues when trying to use phantomJS.


Best,


Max Turgeon
Assistant Professor
Department of Statistics
Department of Computer Science
University of Manitoba
maxturgeon.ca



From: R-package-devel  on behalf of Matt 
Dancho 
Sent: September 1, 2020 10:26:06 AM
To: r-package-devel@r-project.org
Subject: [R-pkg-devel] Modeltime 0.1.0 Submission Failing - Not Sure What To Do


Caution: This message was sent from outside the University of Manitoba.


Hi,

I'm having a difficult time with the pre-tests for Modeltime 0.1.0, a new
version that I'm trying to get onto CRAN. The pre-tests indicate Windows &
Debian are OK. Any help would be much appreciated.

Thanks, Matt


*CRAN Pretest Results*

Dear maintainer,

package modeltime_0.1.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/modeltime_0.1.0_20200901_161424/Windows/00check.log
>
Status: OK
Debian: <
https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/Debian/00check.log
>
Status: OK

Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
See: >

CRAN Web: 

Please fix all problems and resubmit a fixed version via the webform.
If you are not sure how to fix the problems shown, please ask for help on
the R-package-devel mailing list:

If you are fairly certain the rejection is a false positive, please
reply-all to this message and explain.

More details are given in the directory:
<
https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/
>
The files will be removed after roughly 7 days.

No strong reverse dependencies to be checked.

Best regards,
CRAN teams' auto-check service
Flavor: r-devel-windows-ix86+x86_64
Check: CRAN incoming feasibility, Result: NA
  Maintainer: 'Matt Dancho '

Flavor: r-devel-windows-ix86+x86_64
Check: Overall checktime, Result: NOTE
  Overall checktime 16 min > 10 min

Flavor: r-devel-linux-x86_64-debian-gcc
Check: CRAN incoming feasibility, Result: Note_to_CRAN_maintainers
  Maintainer: 'Matt Dancho '



*Matt Dancho | Founder, CEO | Business Science*
p: 570-419-4337 <(570)%20419-4337> | 
www.business-science.io

Want to learn Data Science for Business? Get started today with Business
Science .

 

[[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] Modeltime 0.1.0 Submission Failing - Not Sure What To Do

2020-09-01 Thread Matt Dancho
Hi,

I'm having a difficult time with the pre-tests for Modeltime 0.1.0, a new
version that I'm trying to get onto CRAN. The pre-tests indicate Windows &
Debian are OK. Any help would be much appreciated.

Thanks, Matt


*CRAN Pretest Results*

Dear maintainer,

package modeltime_0.1.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/modeltime_0.1.0_20200901_161424/Windows/00check.log
>
Status: OK
Debian: <
https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/Debian/00check.log
>
Status: OK

Last released version's CRAN status: ERROR: 1, WARN: 3, NOTE: 1, OK: 7
See: >

CRAN Web: 

Please fix all problems and resubmit a fixed version via the webform.
If you are not sure how to fix the problems shown, please ask for help on
the R-package-devel mailing list:

If you are fairly certain the rejection is a false positive, please
reply-all to this message and explain.

More details are given in the directory:
<
https://win-builder.r-project.org/incoming_pretest/modeltime_0.1.0_20200901_161424/
>
The files will be removed after roughly 7 days.

No strong reverse dependencies to be checked.

Best regards,
CRAN teams' auto-check service
Flavor: r-devel-windows-ix86+x86_64
Check: CRAN incoming feasibility, Result: NA
  Maintainer: 'Matt Dancho '

Flavor: r-devel-windows-ix86+x86_64
Check: Overall checktime, Result: NOTE
  Overall checktime 16 min > 10 min

Flavor: r-devel-linux-x86_64-debian-gcc
Check: CRAN incoming feasibility, Result: Note_to_CRAN_maintainers
  Maintainer: 'Matt Dancho '



*Matt Dancho | Founder, CEO | Business Science*
p: 570-419-4337 <(570)%20419-4337> | www.business-science.io

Want to learn Data Science for Business? Get started today with Business
Science .

 

[[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] Should a package run without calling library?

2020-09-01 Thread Uwe Ligges




On 01.09.2020 09:43, Richel Bilderbeek wrote:

Dear fellow R package maintainers,

I would enjoy your advice to clarify a CRAN policy issue.

The question is: should a package be able to work, when calling its exported 
functions using the scope operator? Or, in the example code below, should #1 
work?



```
# 1. Scope operator: should this always work?
mypackage::myfunction()

# Possible error message:
# Error in myfunction() :
# object 'myhiddenfunction' of mode 'function' was not found


Yes.



# 2. Calling library first
library(mypackage)
myfunction()
```


Yes.



I feel the answer is 'yes, #1 should work', as I feel this is only indirectly a 
CRAN repository policy [1] , the IMHO relevant one which I quote: 'Packages 
should not modify the global environment (user’s workspace).'. This means that 
if I have a function that calls `mypackage::myfunction`, it will call `library`:


No, it can import from the namespace, i.e. it loads the package, but 
does not modify the search path (i.e. does not attach the package).


Also note the workspace (=.GlobalEnv) is not the search path.

Best,
Uwe Ligges








```
#' Function in another package, that depends on my package
do_something <- function() {
library(mypackage)
myfunction()
}
```

So, should a package be able to work, when calling its exported functions using 
the scope operator?

Thanks for your advice/pointers, Richel Bilderbeek


* [1] 



__
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


[R-pkg-devel] Should a package run without calling library?

2020-09-01 Thread Richel Bilderbeek
Dear fellow R package maintainers,

I would enjoy your advice to clarify a CRAN policy issue.

The question is: should a package be able to work, when calling its exported 
functions using the scope operator? Or, in the example code below, should #1 
work?



```
# 1. Scope operator: should this always work?
mypackage::myfunction()

# Possible error message:
# Error in myfunction() :
# object 'myhiddenfunction' of mode 'function' was not found


# 2. Calling library first
library(mypackage)
myfunction()
```

I feel the answer is 'yes, #1 should work', as I feel this is only indirectly a 
CRAN repository policy [1] , the IMHO relevant one which I quote: 'Packages 
should not modify the global environment (user’s workspace).'. This means that 
if I have a function that calls `mypackage::myfunction`, it will call `library`:


```
#' Function in another package, that depends on my package
do_something <- function() {
library(mypackage)
myfunction()
}
```

So, should a package be able to work, when calling its exported functions using 
the scope operator?

Thanks for your advice/pointers, Richel Bilderbeek


* [1] 



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