Re: [R-pkg-devel] different build tools

2024-05-28 Thread Boylan, Ross via R-package-devel
[Sorry: Outlook doesn't quote messages the "normal" way] -Original Message- From: Simon Urbanek Sent: Tuesday, May 28, 2024 4:10 PM Ross, R CMD build is the only offical way to build a (source) package in R. All other "tools" are just convenience wrappers [] Please note that CRAN

Re: [R-pkg-devel] different build tools

2024-05-28 Thread Boylan, Ross via R-package-devel
-Original Message- From: Duncan Murdoch Sent: Tuesday, May 28, 2024 3:30 PM To: Boylan, Ross ; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] different build tools On 2024-05-28 6:20 p.m., Boylan, Ross via R-package-devel wrote: > There are at least 4 ways to build a pack

[R-pkg-devel] different build tools

2024-05-28 Thread Boylan, Ross via R-package-devel
There are at least 4 ways to build a package: 1. R CMD build 2. pkgbuild::build(), which I believe calls 1. 3. devtools::build(), which calls 2. 4. RStudio GUI, which calls 3. I recently discovered these don't all behave the same. Invoking bootstrap.R at the start requires 2 or g

Re: [R-pkg-devel] handling documentation build tools

2024-05-21 Thread Boylan, Ross via R-package-devel
cated way to get the core pdf copied to inst/doc. Also, my main concern was how to automate production of the "core" pdf, using the language of the blog post. Ross From: Dirk Eddelbuettel Sent: Tuesday, May 21, 2024 2:15 PM To: Boylan,

[R-pkg-devel] handling documentation build tools

2024-05-21 Thread Boylan, Ross via R-package-devel
I have some documentation that requires external tools to build. I would like to build the automatically, with requiring either users or repositories to have the tools. What's the best way to accomplish that. Specifically one document is written using the LyX word processor, so the "source" i

Re: [R-pkg-devel] relation between vignettes and help files

2016-07-15 Thread Boylan, Ross
: Duncan Murdoch Cc: Enrico Schumann; Boylan, Ross; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] relation between vignettes and help files .. It is even worse, isn't it: Nowadays html help pages are (almost) always created *dynamically* via R's help() or help.start(); For m

[R-pkg-devel] relation between vignettes and help files

2016-07-13 Thread Boylan, Ross
I have two questions, one substantive and one technical, about the relation between vignettes and help files. By "help files" I mean the regular .Rd files. Substantively, to what extent should material be duplicated between the help files and the vignette? For example, my vignette includes som

[R-pkg-devel] DLL 'cmprsk' not found: maybe not installed for this architecture?

2016-06-14 Thread Boylan, Ross
I keeping getting the error in the subject when I try to install a package from source on Windows 7. When using the same code outside of a package there is no problem; the cmprsk package is installed and its dll is present (in both the x64 and i386 directories). Our package is attempting to cal

[R-pkg-devel] NAMESPACE and S4 classes

2015-11-06 Thread Boylan, Ross
I am trying to update a package from 2010 to the new standards, including adding a NAMESPACE file. The package has S4 classes, and I'm having some trouble interpreting the manual. Suppose I have setClass("MyClass", .) MyClass <- function(a, b, c) {...} # constructor and various methods fo