Re: [R-pkg-devel] [External] Re: Assistance Needed to Resolve CRAN Submission Note

2024-05-19 Thread Daniel Kelley
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

Re: [R-pkg-devel] how to use pkgdown::build_site() with a project using S7 with a specialized plot()?

2024-01-03 Thread Daniel Kelley
have 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 you're

Re: [R-pkg-devel] how to use pkgdown::build_site() with a project using S7 with a specialized plot()?

2024-01-03 Thread Daniel Kelley
cument? 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 roxygen2 and pkgdown, and tried to make a simp

Re: [R-pkg-devel] how to use pkgdown::build_site() with a project using S7 with a specialized plot()?

2024-01-03 Thread Daniel Kelley
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 mailto:kel.

[R-pkg-devel] how to use pkgdown::build_site() with a project using S7 with a specialized plot()?

2024-01-03 Thread Daniel Kelley
# 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

Re: [R-pkg-devel] Canonical way to Rprintf R_xlen_t

2023-11-28 Thread Daniel Kelley
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

Re: [R-pkg-devel] Canonical way to Rprintf R_xlen_t

2023-11-28 Thread Daniel Kelley
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,

Re: [R-pkg-devel] advice on a rejected package (I think, because time was 13min, in excess of 10min limit)

2022-05-12 Thread Daniel Kelley
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

[R-pkg-devel] handling of byte-order-mark on r-devel-linux-x86_64-debian-clang machine

2022-03-26 Thread Daniel Kelley
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

[R-pkg-devel] how to address CRAN FAIL on r-devel-windows-x86_64-gcc10-UCRT?

2021-04-02 Thread Daniel Kelley
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

[R-pkg-devel] how to set .Rbuildignore with respect to vignettes?

2021-01-28 Thread Daniel Kelley
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

Re: [R-pkg-devel] how to prevent a small package from yielding a large installed size?

2020-06-15 Thread Daniel Kelley
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

Re: [R-pkg-devel] how to prevent a small package from yielding a large installed size?

2020-06-15 Thread Daniel Kelley
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

[R-pkg-devel] how to prevent a small package from yielding a large installed size?

2020-06-15 Thread Daniel Kelley
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

Re: [R-pkg-devel] R-package-devel Digest, Vol 44, Issue 14

2018-12-22 Thread Daniel Kelley
> 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

Re: [R-pkg-devel] R-devel problem with temporary files or decompression?

2015-07-12 Thread Daniel Kelley
lig...@statistik.tu-dortmund.de 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 how to uncompress

[Rd] how to unbreak a circular package dependence (S4 class data)

2014-01-28 Thread Daniel Kelley
I have an issue with a circular package dependence that prevents building/checking, and I seek advice on breaking the circle so the packages can pass the build-check tests that are required for CRAN submission. The package pair I'm working with is slow to build, but my tests suggest the issue