Re: [R-pkg-devel] Problem with loading package "devtools" from CRAN.

2024-04-29 Thread Georgi Boshnakov
I also had the problem that devtools didn't install. I used update.packages(ask =FALSE) and that solved the problem. Before that I tried to locate the culprit but it was not one of the direct dependencies of devtools. Georgi Boshnakov Sent from Outlook for Android<https://aka.ms/AAb9

Re: [R-pkg-devel] Need help with "Lost braces" in R under development checks

2024-04-07 Thread Georgi Boshnakov
it has uncovered thousands of actual typos and similar. As to the 'invalid url', you can ignore it when you are sure that it is correct - some sites don't like being accessed programatically and start blocking the caller (eg if you run R checks several times in succession). Georgi Boshnakov Sent

Re: [R-pkg-devel] Bioconductor reverse dependency checks for a CRAN package

2024-01-30 Thread Georgi Boshnakov
Have you tried revdepcheck (https://github.com/r-lib/revdepcheck)? It handles the dependencies and uses a local cache for the downloaded packages. It also checks packages with the new and old versions. As far as I know, it doesn't handle the system requirements though. Georgi Boshnakov

Re: [R-pkg-devel] lost braces note on CRAN pretest related to \itemize

2024-01-23 Thread Georgi Boshnakov
a description environment, not itemize (in which its only argument doesn't need braces). Secondly, in the value section, \item is implicitly enclosed in \describe and you don't need to include the latter. Georgi Boshnakov Sent from Outlook for Android<https://aka.ms/AAb9

Re: [R-pkg-devel] Warning from orphaned package on check page

2023-11-09 Thread Georgi Boshnakov
installed. Another option is to take over maintenance of that package. In your case, with so many dependencies someone may be working on bringing it back. Georgi Boshnakov Sent from Outlook for Android<https://aka.ms/AAb9ysg> From: R-package-devel on behalf of L

Re: [R-pkg-devel] Help with a github/Rstudio mess

2023-07-05 Thread Georgi Boshnakov
If I understand correctly, the errors come from github actions run on github. I think that you should update them first, since github switched to new versions in the meantime. Georgi Boshnakov Sent from Outlook for Android<https://aka.ms/AAb9ysg> F

[Rd] bug in na.contiguous? Doesn't give the first tied stretch if it is at the start

2023-06-01 Thread Georgi Boshnakov
nt of 'keep' to allow correct indexing later. Georgi Boshnakov > stats:::na.contiguous.default function (object, ...) { tm <- time(object) xfreq <- frequency(object) if (is.matrix(object)) good <- apply(!is.na(object), 1L, all) else good <- !is.na(object) if

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-08 Thread Georgi Boshnakov
specific. It may be a missing import or export, for example. Georgi Boshnakov Get Outlook for Android<https://aka.ms/AAb9ysg> From: R-package-devel on behalf of Duncan Murdoch Sent: Sunday, 8 January 2023, 10:05 To: Kevin R. Coombes ; R Package Devel

Re: [R-pkg-devel] Inquiry

2022-09-27 Thread Georgi Boshnakov
tating clearly that such functions are internal is also sensible. Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Rolf Turner Sent: 27 September 2022 02:38 To: Andrew Simmons Cc: List r-package-devel Subject: Re: [R-pkg-devel] Inquiry On Mon, 26 Sep 2022 20

[Rd] . Re: stage=install in \doi definition could lead to problems

2022-03-25 Thread Georgi Boshnakov
ly this check to packages submitted to CRAN until this is made stable? Georgi Boshnakov -- Message: 4 Date: Wed, 16 Mar 2022 01:07:54 +0100 From: Sebastian Meyer To: Ivan Krylov Cc: Subject: Re: [Rd] stage=install in \doi definition could lead to

Re: [R-pkg-devel] match.arg With S4 Methods and Missing Inputs

2021-11-08 Thread Georgi Boshnakov
It turns out that it is not difficult to find, the excerpt below is from help(setMethod). Maybe mentioning this in help(setGeneric) would be helpful, as well. Georgi Boshnakov === Method definitions can have default expressions for arguments, but only if the generic function must

Re: [R-pkg-devel] match.arg With S4 Methods and Missing Inputs

2021-11-08 Thread Georgi Boshnakov
You need to define the generic with a default value for this parameter. Methods can then have a different default value for it. I remember reading this in S4's documentation but don't remember where. Georgi Boshnakov Get Outlook for Android<https://aka.ms/AAb9

Re: [Rd] Bug 18208 - tools:::latexToUtf8(tools::parseLatex("\\'i")) should generate í

2021-10-09 Thread Georgi Boshnakov
"i"  <- table$"\\'"$"\\i"    # Georgi     table } I can submit a patch if I get access  to bugzilla. After building R-devel svn 81022 from 2021-10-08 with the above change, we get what we want: > tools:::latexToUtf8(tools::parseLatex("\\'i")) í > t

[Rd] Bug 18208 - tools:::latexToUtf8(tools::parseLatex("\\'i")) should generate í

2021-10-09 Thread Georgi Boshnakov
mit a patch if I get access to bugzilla. After building R-devel svn 81022 from 2021-10-08 with the above change, we get what we want: > tools:::latexToUtf8(tools::parseLatex("\\'i")) í > tools:::latexToUtf8(tools::parseLatex("\\'\\i")) í Georgi Boshnakov [

Re: [R-pkg-devel] submitting package update failed, since old version out of date (?)

2021-08-17 Thread Georgi Boshnakov
When the previous version has problems, you get an email listing them, followed with something like 'Did you fix them? Please Reply-All...' Maybe you missed the last phrase? Georgi Boshnakov Get Outlook for Android<https://aka.ms/AAb9ysg> From: R-p

Re: [R-pkg-devel] How to debug build-time dynamic documentation issues?

2021-08-13 Thread Georgi Boshnakov
in my case. Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Georgi Boshnakov Sent: 13 August 2021 07:47 To: Pavel N. Krivitsky ; R Package Devel Subject: Re: [R-pkg-devel] How to debug build-time dynamic documentation issues? It may be worth checking if the users

Re: [R-pkg-devel] How to debug build-time dynamic documentation issues?

2021-08-13 Thread Georgi Boshnakov
It may be worth checking if the users can install the package if you send them (1) tarball or (2) a binary build (if you don't have Windows, win-builder creates one). A user had a similar issue with a package Get Outlook for Android

Re: [R-pkg-devel] can't reproduce 'Additional issues' on CRAN with valgrind

2021-08-09 Thread Georgi Boshnakov
. As to valgrind, I adapted a Github actions workflow kindly provided by Martin R. Smith which reproduced the errors from CRAN. Georgi Boshnakov == From: Bill Dunlap Sent: 07 August 2021 03:09 To: Georgi Boshnakov Cc: r-package-devel@r-project.org Subject: Re: [R

Re: [R-pkg-devel] can't reproduce 'Additional issues' on CRAN with valgrind

2021-08-02 Thread Georgi Boshnakov
; My comment is indeed sloppy but the first byte is initialised to zero and the rest is used for writing only (valgrind has no way to know, of course, and it is fair to question how a human can possibly be sure). Thanks again, Georgi Boshnakov From: Bill Dunlap Sent: 02 August 2021 19:48

[R-pkg-devel] can't reproduce 'Additional issues' on CRAN with valgrind

2021-08-02 Thread Georgi Boshnakov
ig' do not offer this information. Thanks, Georgi Boshnakov [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Scrapping R CRAN website from package

2021-07-16 Thread Georgi Boshnakov
, revdepcheck (which does it on an epic scale). Georgi Boshnakov Get Outlook for Android<https://aka.ms/AAb9ysg> From: R-package-devel on behalf of Maciej Nasinski Sent: Friday, July 16, 2021 11:13:50 AM To: r-package-devel@r-project.org Subject: [R-pkg

Re: [R-pkg-devel] How to communicate WARNINGS fixed from *last* CRAN version of a package

2021-06-22 Thread Georgi Boshnakov
>... Hence please reply-all and explain: Have these been fixed? Maybe 'reply-all' to CRAN team's email? Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Alberto Garre Sent: 22 June 2021 09:11 To: R-package-devel@r-project.org Subject: [R-pkg-devel]

Re: [R-pkg-devel] Troubleshoot unknown macro '\backslashemph' warning

2021-05-24 Thread Georgi Boshnakov
or rbibutils). Georgi Boshnakov === diwan <- "@article{diwan_methods_1995, title = {Methods of developing a core collection of annual \\emph{{Medicago}} species}, volume = {90}, language = {en}, number = {6}, journal = {Theoretical and Applied Genetics}, author = {Diwan, N. and McInto

Re: [R-pkg-devel] Another newbie question: vignettes not appearing in GitHub hosted package

2021-04-15 Thread Georgi Boshnakov
Vignettes are not built by default when using remotes::install_github, request it explicitly: remotes::install_github("cpsyctc/CECPfuns", build_vignettes = TRUE) Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Chris Evans Sent: 14 April 2021 1

Re: [R-pkg-devel] Problem with S4 method for plotting a raster file

2021-04-14 Thread Georgi Boshnakov
0 'plot'), you would need to import plot methods from rgdal if that is the case (and maybe move rgdal from Suggests to Imports). Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Duncan Murdoch Sent: 14 April 2021 13:45 To: Jacob Nabe-Nielsen ; r-package-devel@r-p

Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Georgi Boshnakov
R checks. I am pretty sure that \doi{} with the suggested syntax does produce proper links in the documentation. Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Floris Vanderhaeghe Sent: 30 March 2021 14:45 To: r-package-devel@r-project.org Subject: [R-pkg-deve

Re: [R-pkg-devel] Two (newbie/luser) questions about adding CI to github hosted package

2021-03-16 Thread Georgi Boshnakov
e, which sometimes threw errors, sometimes silently ignored the lines after the first. Maybe it's easiest just to require R >= "more recent version. Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Dirk Eddelbuettel Sent: 16 March 2021 12:46 To: Duncan

Re: [R-pkg-devel] Support for several versions of another package

2021-02-22 Thread Georgi Boshnakov
, CRAN accepts a package with that note. Georgi -Original Message- From: Iñaki Ucar Sent: 22 February 2021 10:51 To: Georgi Boshnakov Cc: Duncan Murdoch ; Gábor Csárdi ; R Package Development Subject: Re: [R-pkg-devel] Support for several versions of another package On Mon, 22 Feb 2021 at

Re: [R-pkg-devel] Support for several versions of another package

2021-02-22 Thread Georgi Boshnakov
quot;PolynomF") >= "2.0.0") { assign("as.polylist", PolynomF::as_polylist, envir = topenv()) } ## add other renamed functions here NULL } This still raises a NOTE but is a change in a single place. Georgi Boshnakov -Original Message- Fr

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Georgi Boshnakov
Please note that most rooygen2 users don't call the overview file 'pkgname-package' but just 'pkgname'. Also, these days people mostly use README.md for approximately that purpose and put a very minimal statement in pkgname-package or equivalent. Georgi Boshnakov -Original Message

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Georgi Boshnakov
it in a browser by default. Also, it only rebuilds the pages that have changed since the previous built. So, it is useful also during development. I don't remember at the moment if you could even set it up to watch for changes in the package and rebuild the site behind the scene. Georgi Boshnakov

Re: [R-pkg-devel] CRAN check texi2dvi failure

2021-01-10 Thread Georgi Boshnakov
is considered a bug and hs been recently fixed, see the atacjexchange question below and the relevant paragraph from LaTeX News. Probably the linux machines have updated their TeX installations. In short, changing the space tp say + delimiter for \verb command should fix the issue. Georgi

Re: [R-pkg-devel] Debugging library.dynam to include a manual shared object

2020-11-18 Thread Georgi Boshnakov
> Building this works fine in RStudio with devtools::load_all('.'), but > | when I try to run R CMD INSTALL,... Note that the devtools equivalents of 'R CMD build/check/install' are devtools::build(), devtools::check(), devtools::install(). devtools::load_all() has a different purpose.

Re: [Rd] vignettes present in 2 folders or won't work

2020-11-02 Thread Georgi Boshnakov
at it wipes out inst/doc (but it does ask for confirmation). Georgi Boshnakov -- Message: 12 Date: Mon, 2 Nov 2020 05:22:02 -0500 From: Duncan Murdoch To: Mark van der Loo Cc: Dirk Eddelbuettel , r-devel Subject: Re: [Rd] vignettes present in 2 folder

Re: [R-pkg-devel] checking PDF version of manual without hyperrefs or index ... ERROR

2020-10-29 Thread Georgi Boshnakov
This seems to be the code for "small latin capital fl". Such characters often occur when copying text from external programs (similar to the familiar problem with fancy quotes). If that is the case, Just changing the offending symbol to the two letters 'f' and 'l' should suffice

[R-pkg-devel] dependency fails checking a package on ASAN/UBSAN (on r-hub)

2020-10-01 Thread Georgi Boshnakov
or another but do I need to give additional parameters? The report from r-hub is at HTML<https://builder.r-hub.io/status/rbibutils_1.3.tar.gz-74c7a41c4a1d4c36940fcc78b85e800b> Georgi Boshnakov [[alternative HTML version deleted]] __ R-p

Re: [R-pkg-devel] force revdepcheck to use local version of a dependency

2020-09-28 Thread Georgi Boshnakov
Boshnakov -Original Message- From: Gábor Csárdi Sent: 28 September 2020 18:46 To: Georgi Boshnakov Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] force revdepcheck to use local version of a dependency You can define the special dependency of the revdep-checked package

[R-pkg-devel] force revdepcheck to use local version of a dependency

2020-09-28 Thread Georgi Boshnakov
. Package A has many reverse dependencies. I wish to check if an update to package B will break some of the reverse dependencies of A and/or repair broken reverse dependencies of A. It is obvious to update B on CRAN but this may lead unnecessarily to a number of CRAN updates. Georgi Boshnakov

Re: [R-pkg-devel] Use of `:::` in a package for code run in a parallel cluster

2020-09-14 Thread Georgi Boshnakov
to export and hence document this. Georgi Boshnakov PS Note that there is no such thing as "public namespace". -Original Message- From: R-package-devel On Behalf Of David Kepplinger Sent: 13 September 2020 20:52 To: R Package Devel Subject: [R-pkg-devel] Use of `:::`

Re: [Rd] more Matrix weirdness

2020-09-11 Thread Georgi Boshnakov
od will be invoked. There may be cases when changing the class of the left-hand side make sense (such as one subclass of "Matrix" to another) but certainly not for the base R vector classes. Georgi Boshnakov -Original Message- From: Abby Spurdle Sent: 11 September 2

Re: [Rd] more Matrix weirdness

2020-09-11 Thread Georgi Boshnakov
define suitable method for coreData(). So, a matrix class would return a plain matrix, a vector class - a vector, etc. This is akin to coredata() for time series in package 'zoo' and others. Georgi Boshnakov -Original Message- From: Martin Maechler Sent: 10 September 2020 13:48 To: Geor

Re: [Rd] more Matrix weirdness

2020-09-09 Thread Georgi Boshnakov
I think that this is because `[<-` dispatches on S4 methods only if the first argument is S4. ?"[<-" says: "These operators are also implicit S4 generics, but as primitives, S4 methods will be dispatched only on S4 objects ‘x’." Georgi Boshnakov -Original

Re: [R-pkg-devel] check cross-references error: Non-file package-anchored link(s)

2020-06-16 Thread Georgi Boshnakov
topic foo in package pkg if it does not find file foo.html." Unless I am missing something, it seems that it would be relatively painless to reverse the logic of the current behaviour of the help system, i.e. to start looking first for the topic and then for a file. Georgi Boshnakov ---

Re: [R-pkg-devel] check cross-references error: Non-file package-anchored link(s)

2020-06-16 Thread Georgi Boshnakov
The Rd file is mplus.Rd, so ‘[lubridate:mplus]{lubridate::add_with_rollback()}’ would do. Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of David Hugh-Jones Sent: 16 June 2020 07:51 To: Duncan Murdoch Cc: List r-package-devel Subject: Re: [R-pkg-devel] check

Re: [R-pkg-devel] *not* re-making package if contents haven't changed

2020-06-01 Thread Georgi Boshnakov
Maybe let 'git' decide which files have changed? Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Greg Minshall Sent: 01 June 2020 03:57 To: r-package-devel@r-project.org Subject: [R-pkg-devel] *not* re-making package if contents haven't changed hi. i use emacs

Re: [R-pkg-devel] MathJax for Rd files

2020-05-14 Thread Georgi Boshnakov
but it currently loads only the RdMacro's from its package. Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Viechtbauer, Wolfgang (SP) Sent: 13 May 2020 17:14 To: Helmut Schütz ; tiagooliv...@gmail.com; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] MathJax

Re: [R-pkg-devel] Error vignette rebuilding and package imports when re-submitting package

2020-04-16 Thread Georgi Boshnakov
Just add importFrom(Rdpack, reprompt) in the NAMESPACE file (any function from Rdpack will do). Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Paul SAVARY Sent: 15 April 2020 10:15 To: r-package-devel@r-project.org Subject: [R-pkg-devel] Error vignette

Re: [R-pkg-devel] First R package, want to release to CRAN, have some questions about R CMD check and README.md

2020-03-08 Thread Georgi Boshnakov
a link in the README(.md) to the CRAN page of the package, even though on CRAN this looks strange. The most straightforward is probably a badge. Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Michael Dewey Sent: 08 March 2020 12:24 To: Jeffry Hesse ; Jeff

Re: [R-pkg-devel] [FORGED] Re: Help on Windows CRAN Check

2020-03-05 Thread Georgi Boshnakov
e error be masked or delayed and pop up far away. Georgi Boshnakov -Original Message- From: R-package-devel On Behalf Of Rolf Turner Sent: 05 March 2020 08:46 To: Tomas Kalibera Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] [FORGED] Re: Help on Windows CRAN Chec

[Rd] changed names from lm() in R-devel

2020-02-13 Thread Georgi Boshnakov
eason", where "Season" is a factor produces names like "TimeIndex:Season1", while R-devel changes the order of the names to "Season1:TimeIndex", etc. Is this change on purpose? Georgi Boshnakov --- ex_fac<- as.factor(rep(1:4, 10)) ex_fo <- a

Re: [R-pkg-devel] Possibly invalid URL note about canonical form of link to cran package

2019-12-17 Thread Georgi Boshnakov
I believe that the canonical form is without 'cloud': https://cran.r-project.org/package=kernlab Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Joris Meys Sent: 17 December 2019 09:30 To: r-package-devel@r

Re: [R-pkg-devel] DOI in of package in DESCRIPTION file

2019-12-16 Thread Georgi Boshnakov
Something like the following should do: Note that https://zenodo.org/record/3229615 is an URL. Not doi. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Rainer M Krug Sent: 16 December 2019 14:35 To: List r

Re: [R-pkg-devel] Require -package.Rd?

2019-09-30 Thread Georgi Boshnakov
Boshnakov Cc: Viechtbauer, Wolfgang (SP); r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Require -package.Rd? On Tue, Sep 24, 2019 at 8:07 AM Georgi Boshnakov wrote: > > It is worth noting that > > help(package="") > > shows file -package.Rd, while > &g

Re: [R-pkg-devel] Require -package.Rd?

2019-09-24 Thread Georgi Boshnakov
ar at the top. If html is not the default rendering, one can use help(package = "Matrix", help_type = "html") to get this. Georgi Boshnakov -Original Message- From: Viechtbauer, Wolfgang (SP) [mailto:wolfgang.viechtba...@maastrichtuniversity.nl] Sent: 24

Re: [R-pkg-devel] Require -package.Rd?

2019-09-24 Thread Georgi Boshnakov
dley Wickham's tools (at least 'pkgdown') recommend and use .Rd, instead of -package.Rd as overall package description. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Viechtbauer, Wolfgang (SP) Sent: 24 Septem

Re: [R-pkg-devel] unable to run 'make clean' in 'src'

2019-09-18 Thread Georgi Boshnakov
for ming_w64 above is (still) needed. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Spencer Graves Sent: 18 September 2019 07:47 To: R Package Development Subject: [R-pkg-devel] unable to run 'make clean' in 'src' Hello

Re: [Rd] install_github and survival

2019-09-06 Thread Georgi Boshnakov
I cloned therneau/survival and the installation failed since there is no definition for exported function survfit(). A file seems to be missing - there is survfit0() and survfit0.R but, compared to CRAN, no survfit.R. Georgi Boshnakov

Re: [R-pkg-devel] URL of a frame (or a vignette)?

2019-09-02 Thread Georgi Boshnakov
heir 'Comments' area but they did not respond. Georgi Boshnakov -Original Message- From: Spencer Graves [mailto:spencer.gra...@effectivedefense.org] Sent: 01 September 2019 20:19 To: Duncan Murdoch; Georgi Boshnakov; Jeff Newmiller; r-package-devel@r-project.org Subject: Re: [R-pkg-d

Re: [R-pkg-devel] URL of a frame (or a vignette)?

2019-09-01 Thread Georgi Boshnakov
September 2019 16:33 To: Georgi Boshnakov; Jeff Newmiller; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] URL of a frame (or a vignette)?   What's the difference between https://cran.r-project.org/package=bssm/vignettes/bssm.pdf   and https://cran.r-project.org/web/packages

Re: [R-pkg-devel] URL of a frame (or a vignette)?

2019-09-01 Thread Georgi Boshnakov
Correction: https://cran.r-project.org/package=bssm/vignettes/bssm.pdf -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Georgi Boshnakov Sent: 01 September 2019 15:57 To: Spencer Graves; Jeff Newmiller; r-package-devel@r-project.org

Re: [R-pkg-devel] URL of a frame (or a vignette)?

2019-09-01 Thread Georgi Boshnakov
ot;html") The latter has the advantage that it present links in a browser even if by default the help is presented in text mode. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Spencer Graves Sent: 01 September

Re: [R-pkg-devel] General considerations about vignettes

2019-08-30 Thread Georgi Boshnakov
(https://cran.r-project.org/package=Countr) uses this approach for its vignettes (sorry for the self-reference). Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Mark van der Loo Sent: 30 August 2019 16:08 To: Michael

Re: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-24 Thread Georgi Boshnakov
ot;\... continued \\lmydots \\mydots" \ldots is expanded but the other macros are not. Note that the expansion of \ldots here is due is due to the specific rendering for LaTeX, which replaces \\ldots by three dots (...), and doesn't use my Rd definition

Re: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-24 Thread Georgi Boshnakov
I have seen similar behaviour for "\dots" in R strings in the Examples section. I tried some hacks, such as redefining the '\ldots' but they don't work, since the Rd parser works recursively. Georgi Boshnakov From: b...@denney.ws [b.

Re: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-23 Thread Georgi Boshnakov
copy and paste it in the Rd file generated by roxygen2, then run 'R CMD build' and 'R CMD check' (outside devtools). Georgi -Original Message- From: b...@denney.ws [mailto:b...@denney.ws] Sent: 23 August 2019 15:27 To: Georgi Boshnakov; r-package-devel@r-project.org Subject: RE: [R-pkg-

Re: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-23 Thread Georgi Boshnakov
Rd is not LaTeX, although it resembles it. You should use only markup described in WRE. For example, \dots is for the use case you mention. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of b...@denney.ws Sent

Re: [Rd] Documenting else's greed

2019-08-18 Thread Georgi Boshnakov
might expect an error. > f <- function(x){x^2} + 1 > f(2) [1] 5 > as.character(body(f)) [1] "+" "{\nx^2\n}" "1" > Georgi Boshnakov -- Message: 5 Date: Sat, 17 Aug 2019 02:36:39 +1

Re: [R-pkg-devel] CRAN pre-test failed on NOTE "no visible binding for global variable"

2019-07-02 Thread Georgi Boshnakov
at they are not commonly used names like 'x'. If that is not practical and you use non-standard evaluation a lot, consider '.data' from package 'lang' , see its documentation and/or Google it to find out how to use it. #' @importFrom rlang .data Georgi Boshnakov -Original Message- Fr

Re: [Rd] methods package: A _R_CHECK_LENGTH_1_LOGIC2_=true

2019-07-01 Thread Georgi Boshnakov
ly, I believe) present in the function object. The call .local(object, target) would be appropriate if "subset" was missing also from the signature of the function object (the latter would be illegal here). Alternatively, it could be named, as in .local(object, target = target) or

Re: [R-pkg-devel] implications of staged install for data processing packages

2019-06-28 Thread Georgi Boshnakov
hose paths that contain the temporary installation directory. Such paths can be obtained, for example, with calls to system.path(), as illustrated by Tomas. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Florian Oswal

Re: [Rd] tools::package_native_routine_registration_skeleton?

2019-06-28 Thread Georgi Boshnakov
s that are meant for export. Georgi Boshnakov -- Message: 6 Date: Fri, 28 Jun 2019 09:06:52 + From: "Koenker, Roger W" To: "r-devel@r-project.org" Subject: [Rd] tools::package_native_routine_registration_skeleton? Message-ID: <00702a4f-6

Re: [R-pkg-devel] .Rd, LaTeX and Unicode

2019-06-19 Thread Georgi Boshnakov
Sorry, I failed to clarify that the link to ltnews.pdf was the point of my message. In some ways it is definitive from the LaTeX team. My understanding is that option 'mathletters' is not the default in ucs, since it produces math Greek and Hebrew letters also in text mode. Georgi Boshnakov

Re: [R-pkg-devel] .Rd, LaTeX and Unicode

2019-06-18 Thread Georgi Boshnakov
Since April 2018 'utf8' is the default input encoding in LaTeX, see http://anorien.csc.warwick.ac.uk/mirrors/CTAN/macros/latex/doc/ltnews.pdf and they added some symbols in December. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r

Re: [R-pkg-devel] checks on CRAN notes 'examples_i386', but checks elsewhere do not

2019-06-07 Thread Georgi Boshnakov
into the tarball, use file.Rbuildignore to tell the builder not to include them. Georgi Boshnakov From: R-package-devel [r-package-devel-boun...@r-project.org] on behalf of Kassel Hingee [kassel.hin...@research.uwa.edu.au] Sent: 07 June 2019 05:35 To: r

Re: [R-pkg-devel] Function Overloading of S4 Methods

2019-05-18 Thread Georgi Boshnakov
sible. In R you can define methods with different arguments, e.g. by declaring your function with a signature like: larger <- function(x, y, first, second) but then to use argument 'first' you need to use it something like 'larger(first = whatever, ...)'. Georgi Boshnakov -Original Me

Re: [R-pkg-devel] Registered S3 methods from standard package

2019-05-13 Thread Georgi Boshnakov
ome preparation and call directly plot.default(), so they both bypass the method and see graphics::plot.default, not yours, see e.g. plot.ts(). Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Colin Gillespie Sent: 13

Re: [R-pkg-devel] can't commit changes to a package on R-Forge

2019-04-06 Thread Georgi Boshnakov
Thanks, I didn't realise that password approach has been dropped. Georgi Boshnakov -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: 06 April 2019 12:40 To: Georgi Boshnakov; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] can't commit changes

[R-pkg-devel] can't commit changes to a package on R-Forge

2019-04-06 Thread Georgi Boshnakov
any way to make it ask me for credentials and will appreciate any help. Georgi Boshnakov [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] attempt to re-insert old removed package

2019-04-05 Thread Georgi Boshnakov
It depends on the specific case but attempting to check with the previous maintainer/author looks like a courteous first step before taking over. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Dirk Eddelbuettel

Re: [R-pkg-devel] Help request on Rd2pdf | Fwd: [CRAN-pretest-archived] CRAN submission spsh 1.0.190311

2019-03-13 Thread Georgi Boshnakov
like \code{some code} but omitted the closing curly parenthesis. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Tobias KD Weber Sent: 13 March 2019 09:50 To: r-package-devel@r-project.org Subject: [R-pkg-devel] Help re

Re: [R-pkg-devel] Package update submission to CRAN fails on pretest

2018-12-07 Thread Georgi Boshnakov
they ask if care has been taken about NOTEs/WARNINGs for the current CRAN version, since some tests are not done during submission, but this doesn't seem the case here. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf

[Rd] incomplete description of return value of stats::uniroot()?

2018-12-03 Thread Georgi Boshnakov
ot.Rd, before the sentence quoted above: \code{iter} includes the number of iterations, if any, done initially to ensure opposite signs at the ends of the interval. This number is available separately in component \code{init.it}. If no extension of the interval w

Re: [R-pkg-devel] creating a link to a vignette in a .Rd file

2018-11-20 Thread Georgi Boshnakov
l be directly usable also when the help is rendered in text mode. The vignette() command could also be put in the "Examples" section. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Fox, John Sent: 20 No

Re: [R-pkg-devel] nativeRoutines error when using roxygen2 in RStudio

2018-11-07 Thread Georgi Boshnakov
but sometimes compilation may be needed even if devtools thinks otherwise. Georgi Boshnakov -Original Message- From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: 07 November 2018 00:26 To: Rampal Etienne; Georgi Boshnakov; r-package-devel@r-project.org Subject: Re: [R-pkg-devel

Re: [R-pkg-devel] nativeRoutines error when using roxygen2 in RStudio

2018-11-02 Thread Georgi Boshnakov
on one line and make sure that there is a single space between them. This should work if your problem is what I think. By the way, in such cases you will get more informative messages if you run devtools::check(). -- Georgi Boshnakov From: R

[Rd] disappearing paragraphs in html rendering of text from Rd macros

2018-10-29 Thread Georgi Boshnakov
this email, while in R-3.5.1 the empty lines cause paragraph tags around each chunk: a b c d Directly embedding the Sexpr in the Rd file also produces all tags in R-devel and R-3.5.1patched., --- Georgi Boshnakov __ R-devel@r-project.org mailing

Re: [R-pkg-devel] Trying to work around missing functionality

2018-08-28 Thread Georgi Boshnakov
t; eb$fn function(x) x^2 + 1 > > ## ea$fn is still the same: > ea$fn function(x) x^2 - 2*x + 1 > Obviously, in this case some further arrangements are needed for the environments to be made available to the external world. Hope this helps, Georgi Boshnakov -Original Messa

Re: [R-pkg-devel] CRAN note: src/Makevars: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS but not in PKG_LIBS

2018-08-21 Thread Georgi Boshnakov
) $(FLIBS) c.f. https://github.com/RcppCore/RcppArmadillo/blob/58b11c738d31b9e8d9fa6b39e2290b2ac08aefc4/inst/skeleton/Makevars#L11-L14 Sincerely, JJB On 8/20/18, 5:40 PM, "R-package-devel on behalf of Dirk Eddelbuettel" wrote: On 20 August 2018 at 22:14, Georgi Boshn

[R-pkg-devel] CRAN note: src/Makevars: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS but not in PKG_LIBS

2018-08-20 Thread Georgi Boshnakov
will disappear if I rebuild the package with an up-to-date version of Rcpp and maybe rerunning RcppAttributes().? Georgi Boshnakov == Check: use of SHLIB_OPENMP_*FLAGS in Makefiles Result: NOTE src/Makevars: SHLIB_OPENMP_CXXFLAGS is included in PKG_CXXFLAGS

Re: [R-pkg-devel] Printing examples conditionally on another package in Suggests

2018-08-10 Thread Georgi Boshnakov
Maybe Martin Maechler's post in response to a similar question answers your question: https://stat.ethz.ch/pipermail/r-package-devel/2018q2/002780.html In summary, wrap the code in: if (requireNamespace("MASS", quietly = TRUE)) withAutoprint({ your code }) Georgi

Re: [R-pkg-devel] Package builds, installs, and runs but does not pass devtools::check()

2018-07-15 Thread Georgi Boshnakov
. See ?Startup, especially section Note. It is difficult to give more specific advice without details of your setup. Hope this helps, Georgi Boshnakov From: R-package-devel [r-package-devel-boun...@r-project.org] on behalf of Michael Hannon

Re: [Rd] incomplete results from as.character.srcref() in some cases involving quote()

2018-06-20 Thread Georgi Boshnakov
the documentation - the code stops at the last byte/character of the expression, that is, on the closing brace - which is the "already parsed text". I think this works as documented (also source() uses the current implementation of wholeSrcref). Best Tomas On 06/18/2018 04:20 PM, Georgi Boshnakov w

[Rd] incomplete results from as.character.srcref() in some cases involving quote()

2018-06-18 Thread Georgi Boshnakov
ref e5 <- quote({quote({2+2})} Attribute 'wholeSrcref' seems undocumented but it is of class 'srcref' which is documented (eg ?srcref) and has supporting methods. Georgi Boshnakov [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Rd parser throws error for user macros invoked with empty argument

2018-05-25 Thread Georgi Boshnakov
:parse_Rd(f) > rd mac6: 2*3 --- Georgi Boshnakov -Original Message- From: Tomas Kalibera [mailto:tomas.kalib...@gmail.com] Sent: 25 May 2018 10:05 To: Georgi Boshnakov; r-devel@r-project.org Subject: Re: [Rd] Rd parser throws error for user macros invoked with empty argument Thanks

Re: [Rd] Rd parser throws error for user macros invoked with empty argument

2018-05-25 Thread Georgi Boshnakov
Thanks for looking into this, empty string is the natural solution indeed. Georgi -Original Message- From: Tomas Kalibera [mailto:tomas.kalib...@gmail.com] Sent: 25 May 2018 10:05 To: Georgi Boshnakov; r-devel@r-project.org Subject: Re: [Rd] Rd parser throws error for user macros

Re: [R-pkg-devel] Creating S3 methods for S4 classes

2018-05-25 Thread Georgi Boshnakov
Dear Martin, Thanks for the clarification and sorry for the noise. Georgi -Original Message- From: Martin Maechler [mailto:maech...@stat.math.ethz.ch] Sent: 25 May 2018 09:11 To: Georgi Boshnakov Cc: joris.m...@ugent.be; R Package Development Subject: Re: [R-pkg-devel] Creating S3

Re: [R-pkg-devel] Errors in my package

2018-05-24 Thread Georgi Boshnakov
; coef(xy.freekt) Then explore what is going on. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Steven Spiriti Sent: 24 May 2018 21:11 To: r-package-devel@r-project.org Subject: [R-pkg-devel] Errors in my package T

Re: [R-pkg-devel] Creating S3 methods for S4 classes

2018-05-24 Thread Georgi Boshnakov
ict, will be used (if exported) as long as the package is attached. I may be wrong but for this or similar reasons I believe that 'stats4' needs to be in "Depends" to ensure that it shadows the base functions it redefines. Georgi Boshnakov > c

Re: [R-pkg-devel] Creating S3 methods for S4 classes

2018-05-24 Thread Georgi Boshnakov
' has been left out of stats4. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Joris Meys Sent: 24 May 2018 13:17 To: R Package Development Subject: [R-pkg-devel] Creating S3 methods for S4 classes Dear all, per

[Rd] Rd parser throws error for user macros invoked with empty argument

2018-05-14 Thread Georgi Boshnakov
macro \CRANpkg{}. In this example it doesn't make sense to use empty argument but the error is not specific to this particular macro. -- Georgi Boshnakov Create an Rd file containing system macro \CRANpkg{bibtex}, parse_Rd() is ok: = fn <- tempfile() writeLines(&quo

  1   2   >