[R-pkg-devel] Check if any object pointing to a given address is locked

2025-04-24 Thread Tony Wilkes
Hi everyone, I have a question. Given the address of an object ("address" in the sense given by, for example, "data.table::address()"), is it possible to check if any binding in any environment pointing to that address is locked? So a function similar to "bindingIsLocked()", except the function

[R-pkg-devel] Why is Rf_Seql hidden?

2024-11-08 Thread Tony Wilkes
Hi everyone, Checking if 2 strings are equal, when these strings might be of different encoding, whilst still maintaining good performance, can be quite difficult. But R seems to manage reasonably well. It appears that R uses Rf_seql() to check if 2 strings are equal. But Rf_seql is not public in

[R-pkg-devel] error in windows R-devel builder, but not anywhere else

2024-04-13 Thread Tony Wilkes
Hi everyone, I am updating my R package (tinycodet), and I have checked my R-package in all operating systems (Linux, Mac, Windows). All examples and tests run correctly for Linux, Mac, and Windows. Rcmd checks also finds no issues on GitHub (I use rather strict Rcmdcheck workflows on GitHub,

[R-pkg-devel] Question regarding finding the source file location without R-packages outside of R-Studio

2023-11-23 Thread Tony Wilkes
Hi everyone, I have a question. I hope it's not a stupid question. Suppose you'd want to perform version control and project isolation. You'd create a project folder (let's call it "MyProject"), and place all the R packages you need for that project inside a subfolder (let's say "MyProject/MyL

[R-pkg-devel] Unclear NOTE for r-devel-linux-x86_64-debian-clang

2023-11-02 Thread Tony Wilkes
Hi everyone, I updated my package, but found a NOTE for r-devel-linux-x86_64-debian-clang. See https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-clang/tinycodet-00check.html. The NOTE is: checking HTML version of manual ... [3s/5s] NOTE Found the following HTML validation probl

[R-pkg-devel] published CRAN check results give error for only r-oldrel-macos-arm64

2023-10-13 Thread Tony Wilkes
Dear all, My R package has yesterday been accepted by CRAN. I'm super happy about this, of course. But when I look at the package's CRAN check results (see https://cran.r-project.org/web/checks/check_results_tinycodet.html), I see that r-oldrel-macos-arm64 has latex errors. I find it very odd t

[R-pkg-devel] Question regarding listing base and recommended packages programmatically and efficiently

2023-10-12 Thread Tony Wilkes
Dear all, In my R package that I'm developing, I use `installed.packages(priority = "base")` to programmatically get all core/base R packages (i.e. base, stats, etc.). And similarly, I use installed.packages(priority = "recommended")​` to programmatically get the recommended R packages (i.e. mg

[R-pkg-devel] Question regarding CRAN submission with notes

2023-10-11 Thread Tony Wilkes
Dear all, I'm trying to publish an R package to CRAN. Their checks come back with 2 NOTES. The first one is saying that the package is a new submission, and the second one is that there is a subdirectory with a package inside my package. Both notes are correct. I have explained in my submission