Re: [R-pkg-devel] Warning in dir.create(vd2 <- "vign_test") : 'vign_test' already exists

2021-06-30 Thread Duncan Murdoch

On 30/06/2021 6:50 p.m., Rolf Turner wrote:


On Tue, 29 Jun 2021 14:09:34 -0500
Spencer Graves  wrote:


Hello, All:


  "R CMD check Ecfun_0.2-5.tar.gz" with R 4.1.0 under macOS
11.4 gave "Warning in dir.create(vd2 <- "vign_test") : 'vign_test'
already exists".  It ultimately said, "Status: OK", so maybe I
shouldn't worry about it.  It's available at:


https://github.com/sbgraves237/Ecfun


  This passed all 4 GitHub Actions, so maybe I should not
worry about this.


  Comments?
  Thanks,
  Spencer Graves


It is rather presumptuous of me to comment, but for what it's worth I
personally would not ignore such a warning.  There is (it seems to me)
always a possibility that the warning is symptomatic of a problem that
could at some stage whip around and bite you on the arse.  I would try
to find out why the directory "vign_test" (unexpectedly?) exists.  Where
does it come from? Who/what created it?

If its possible existence is "understandable" perhaps you should test
for its existence (using file.exists()?) and if it does indeed exist,
don't try to create it.

Feel free to ignore me (and I'll go away! :-) ).


I agree the warning shouldn't be ignored, but I believe it was created 
by R CMD check, not by Spencer directly.  So the real question is:  why 
was it already there?


Duncan Murdoch

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


Re: [R-pkg-devel] Warning in dir.create(vd2 <- "vign_test") : 'vign_test' already exists

2021-06-30 Thread Rolf Turner


On Tue, 29 Jun 2021 14:09:34 -0500
Spencer Graves  wrote:

> Hello, All:
> 
> 
> "R CMD check Ecfun_0.2-5.tar.gz" with R 4.1.0 under macOS
> 11.4 gave "Warning in dir.create(vd2 <- "vign_test") : 'vign_test'
> already exists".  It ultimately said, "Status: OK", so maybe I
> shouldn't worry about it.  It's available at:
> 
> 
> https://github.com/sbgraves237/Ecfun
> 
> 
> This passed all 4 GitHub Actions, so maybe I should not
> worry about this.
> 
> 
> Comments?
> Thanks,
> Spencer Graves

It is rather presumptuous of me to comment, but for what it's worth I
personally would not ignore such a warning.  There is (it seems to me)
always a possibility that the warning is symptomatic of a problem that
could at some stage whip around and bite you on the arse.  I would try
to find out why the directory "vign_test" (unexpectedly?) exists.  Where
does it come from? Who/what created it?

If its possible existence is "understandable" perhaps you should test
for its existence (using file.exists()?) and if it does indeed exist,
don't try to create it.

Feel free to ignore me (and I'll go away! :-) ).

cheers,

Rolf

-- 
Honorary Research Fellow
Department of Statistics
University of Auckland
Phone: +64-9-373-7599 ext. 88276

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


[R-pkg-devel] Warning in dir.create(vd2 <- "vign_test") : 'vign_test' already exists

2021-06-29 Thread Spencer Graves

Hello, All:


	  "R CMD check Ecfun_0.2-5.tar.gz" with R 4.1.0 under macOS 11.4 gave 
"Warning in dir.create(vd2 <- "vign_test") : 'vign_test' already 
exists".  It ultimately said, "Status: OK", so maybe I shouldn't worry 
about it.  It's available at:



https://github.com/sbgraves237/Ecfun


	  This passed all 4 GitHub Actions, so maybe I should not worry about 
this.



  Comments?
  Thanks,
  Spencer Graves


sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16

Matrix products: default
LAPACK: 
/Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib


locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods
[7] base

loaded via a namespace (and not attached):
[1] compiler_4.1.0 tools_4.1.0

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


Re: [R-pkg-devel] Warning in dir.create(vd2 <- "vign_test"): 'vign_test' already exists

2020-03-16 Thread Uwe Ligges



On 16.03.2020 00:09, Spencer Graves wrote:

Hello, All:


   Under Windows 10, "R CMD check sos_2.0-1.tar.gz" cloned from 
"https://github.com/sbgraves237/sos; ends with:



* checking rebuild of vignettes outputs ...Warning in dir.create(vd2 <- 
"vign_test"):  'vign_test' already exists


I do not get it when checking your package.

Best,
Uwe Ligges





   Under macOS 10.15.3 it finishes fine.


   "grep 'vign_test'" failed to find anything.


   ???
   Thanks,
   Spencer Graves


p.s.  Running R 3.6.3 on both machines with "update.packates()" clean.

__
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] Warning in dir.create(vd2 <- "vign_test"): 'vign_test' already exists

2020-03-15 Thread Spencer Graves

Hello, All:


  Under Windows 10, "R CMD check sos_2.0-1.tar.gz" cloned from 
"https://github.com/sbgraves237/sos; ends with:



* checking rebuild of vignettes outputs ...Warning in dir.create(vd2 <- 
"vign_test"):  'vign_test' already exists



  Under macOS 10.15.3 it finishes fine.


  "grep 'vign_test'" failed to find anything.


  ???
  Thanks,
  Spencer Graves


p.s.  Running R 3.6.3 on both machines with "update.packates()" clean.

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