I think the idea is to do as below. You can also make temporary directories in
a similar way.
tempFile <- tempfile()
# write to tempFile, and use it anyway you like
unlink(tempFile)
> On Nov 11, 2024, at 9:22 AM, Alexander Pate
> wrote:
>
> CAUTION: The Sender of this
I have a package, named 'oce' (developed at www.github.com/dankelley/oce and
available through CRAN for over a decade) that uses 'ncdf4' to read some file
types. When I do test builds on the win and mac builders, all is fine. When I
do it with rhub, though, I get an error that ncdf4 cannot be
In answer to the question about tidy version on macOS, I have the latest
version of that OS (Sonoma 14.5 release 23F79 -- a beta release, unless the
official has caught up in recent days) and I get as follows. The second one is
from the homebrew project, and that's what gets used by default on
helped, so generously and so quickly.
I wish a very Happy New Year, to all!!
Dan.
Dan Kelley / Oceanography Department / Dalhousie University / Halifax, Nova
Scotia / Canada
> On Jan 3, 2024, at 3:18 PM, Daniel Kelley wrote:
>
> Oh, Hadley, I'm sorry to bother you whilst y
within Dalhousie.
Did you re-document? You’ll need that to correctly regenerate the .Rd, I think.
(Sorry I’m on vacation so I’m guessing at stuff from my phone)
Hadley
On Thursday, January 4, 2024, Daniel Kelley
mailto:kel...@dal.ca>> wrote:
Thanks. I installed the latest roxygen
f this email is not from within Dalhousie.
This bug is fixed in the dev version (I don’t remember off the top of my head
in which of pkgdown and roxygen2 you need but it might be both). I’m planning
CRAN updates for both in the near future.
Hadley
On Thursday, January 4, 2024, Daniel Kelley
mai
# Question
Is there an online example online of specializing `plot()` for S7 objects, such
that `pkgdown::build_site()` will produce webpages? I ask because I find lots
of users (of other packages) tend to consult websites made with pkgdown, rather
than using the online help within R. I think
I hope it's okay to ask this on the present thread, rather than starting a new
one...
On this issue of the C format for various integer-type items, I am finding that
checks made with devtools::check_win_devel() give different results than those
made with the github R-CMD-check action named ubun
To HB: I also maintain a package that has this problem. I do not have access
to a linux machine (or a machine with the C++ version in question) so I spent
quite a while trying to get docker set up. That was a slow process because I
had to install R, a bunch of packages, some other software, and
# Preamble
This email is to tell other developers what I did to address an issue with
documenting a package. I'm not sure that I am correct in my approach --
comments would definitely be appreciated -- but at least this email is fairly
concrete about the changes I made. To be honest, I don't know
On May 12, 2022, at 4:34 AM, Tomas Kalibera
mailto:tomas.kalib...@gmail.com>> wrote:
CAUTION: The Sender of this email is not from within Dalhousie.
On 5/11/22 22:26, Daniel Kelley wrote:
Thanks, Dirk. On my machine, the test suite takes 85 seconds. Assuming the CRAN
machines are abou
In the most recent release of the oce package, there is a new test that uses a
package-supplied file of meteorological data. This is one of three such files
that are included with the package. They are from Environment Canada, which
keeps changing the format, and so oce needs to be able to rea
The "oce" package for oceanographic analysis is failing a check on the
r-devel-windows-x86_64-gcc10-UCRT system (see
https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64-gcc10-UCRT/oce-00check.html).
The problem seems to relate to the checking vignette outputs.
According to
https://ww
SUMMARY QUESTION.
Should there be a `^vignettes$` line in `.Rbuildignore` files?
BACKGROUND.
I am trying to trim the size of the 'oce' package. It has several vignettes,
and I would like to learn how to include them optimally in my tarball.
The listing given in DETAILS reveals a duplicated v
I found as Duncan, but then I saw
https://stackoverflow.com/questions/54144239/how-to-use-saverds-refhook-parameter
and found more info as follows. (It will take me a while to go through the
output, but basically I am seeing code from the "oce" package, which makes me
think I ought to get rid
Duncan, thanks very much for that very helpful hint. I got as follows. My
guess is that the first column in rdx$variables is an address offset, and so it
seems that the lion's share of the storage is dedicated to items with names
starting with a decimal point. For example, the "[[" item is at
I am working on a package (https://github.com/ArgoCanada/argoFloats) that has a
412K source tarball (most of which is data; the R code is 176K), but that
creates a library .rdb file of MUCH larger size, namely 7.2M. This file causes
a build NOTE, being over the threshold of 1M, and that concern
> On Dec 22, 2018, at 7:00 AM, r-package-devel-requ...@r-project.org wrote:
>
> (since it's fairly unlikely to get two random failures in a row).
Flakey links are also a problem for packages, per se, as opposed to revdeps.
For example, I have a package (oce) that has quite a lot of \url{} items
Thanks, Berry. It turns out that the problem was an inclusion of
^build$
in my .Rbuildignore file.
Best regards, Dan.
Dan E. Kelley, Professor
Oceanography Department, Dalhousie University
Halifax, NS, Canada
__
R-package-devel@r-project.org mailin
QUESTION:
I wonder how to address the error that I’ve quoted in the subject line?
DETAILS:
I am using R 3.4.1 to build the “oce” package, which helps with the analysis of
oceanographic data. It’s several years old.
Lately, when I submit the “oce” package to winbuilder using
devtools
ges
> wrote:
>
>
>
> On 12.07.2015 17:33, Daniel Kelley wrote:
>> A data file that I’d like to use in my “oce” package is quite large, and
>> compresses well, so I thought of putting a compressed version into
>> inst/extdata. I want my documentation to show ho
A data file that I’d like to use in my “oce” package is quite large, and
compresses well, so I thought of putting a compressed version into
inst/extdata. I want my documentation to show how to uncompress the file,
partly because these files tend to compress so well that I think users might
like
Roger,
I plan to make the next version of oce use rgdal::project() to do its work. The
idea of using an external PROJ.4 is fine in my own work, but oce has a lot of
users who are unaccustomed to building and installing external libraries. Also,
many work at institutes that do not permit this ki
23 matches
Mail list logo