[R-pkg-devel] compileAttributes() and 'using namespace' directives

2015-12-08 Thread Georgi Boshnakov
vtools::test() calls compileAttributes() with the effect of producing invalid file and with little indication for the users what has gone wrong, besides the message "Error: Command failed (1)". Thanks, Georgi -- Dr Georgi Boshnakov tel: (+44) (0)161 306 3684 School of Mathematics

Re: [R-pkg-devel] S3 length method behavior

2016-02-01 Thread Georgi Boshnakov
Hi, >I have run into an issue while developing an R package. Specifically, my issue >relates to what happens when I define an S3 length >method for my class. Here is my basic setup: ># Here is the structure of myClass ># uses an externalptr to operate on file using some C functions list(file =

Re: [R-pkg-devel] Is it possible to reverse engineer a package from the installed library directory ?

2016-03-24 Thread Georgi Boshnakov
Further to Joshua's comment, package "Rdpack" has a function reprompt(), which when called with one argument creates an Rd documentation file. It can do this for methods (S3/S4), classes and package-package if required, e.g. library(Rdpack) reprompt(lm) creates a lm.Rd in the current working d

Re: [R-pkg-devel] Problem with \Sexpr{} expressions

2016-06-08 Thread Georgi Boshnakov
Hi, Check the source directory of your package. It may contain files created during installation that should not be included in the tar.gz package source. If so, just delete the offending files before building the tar.gz source or use file .Rbuildignore to instruct the builder not to include

Re: [R-pkg-devel] Fwd: Please help with unexplainable check --as-cran warning for Rd file with \usage{\S4method{[[<-}{M1}(x, i, value)}

2016-12-24 Thread Georgi Boshnakov
}(arglist) <- value to indicate the usage of an S3 replacement method for the generic replacement function "generic<-" for objects inheriting from class "class".' Guessing that we need to replace '\method' with '\S4method' for S4

Re: [R-pkg-devel] Initialize Method

2017-01-08 Thread Georgi Boshnakov
Hi, The short answer is that initialize() dispatches only on its first argument but the required effect can be achieved in a number of ways: (1) Write a method for initialize() and put suitable checks at its start, e.g. if(!is(data1, "numeric"), stop()) . Sometimes you may wish to say ' dat

[R-pkg-devel] package listed in RdMacros field in file DESCRIPTION not installed by travis

2017-03-10 Thread Georgi Boshnakov
ar.gz (and this is the source: http://www.maths.manchester.ac.uk/~gb/testRdMacro_src.tar.gz). Thanks, Georgi >>>> -Original Message- >>>> From: >>>> Sent: 09 March 2017 13:04 >>>> To: Georgi Boshnakov >>>> Subject: Re: Rdpack

Re: [R-pkg-devel] Macros in Rd files.

2017-11-10 Thread Georgi Boshnakov
e is not mentioned in these references, it is not available. I once inadvertently used a modifier in the tabular environment (maybe something like {l|l|l} which was fine for 'R CMD check', the pdf manual and CRAN but the package failed to install on a system setup for static insta

Re: [R-pkg-devel] Using another package's method that isn't exported

2017-11-10 Thread Georgi Boshnakov
Hi, Presumably, you have imported 'confint' from 'stats'. Just import something from MASS, e.g 'ginv': importFrom(MASS,ginv) or choose something else by studying the output of ls(asNamespace("MASS")). Similarly import something from xml2. Note that "IMPORTS" in DESCRIPTION ensures that the p

Re: [R-pkg-devel] Macros in Rd files --- supplementary question.

2017-11-11 Thread Georgi Boshnakov
from 'R CMD build', see below for a sample console output on Windows from a package which contains Rd macros and vignettes. The messages you show seem to come from 'Rd2pdf'. Is it possible that you have some custom script that builds the manual, as well? Also some envi

Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-18 Thread Georgi Boshnakov
replacement. Also, adding a note (in a comment before the example) as to way an example is not run can be of benefit to both the user and the package author. Even if it is obvious at the time of writing, it may not be so months or years later. Kind regards, Georgi Boshnakov -Original Mess

Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-19 Thread Georgi Boshnakov
taken it from contains similar examples in other places, so a user will become aware of this. Merry Christmas, Georgi From: Tomas Hudik [mailto:xhu...@gmail.com] Sent: 19 December 2017 16:02 To: Georgi Boshnakov Cc: r-package-devel@r-project.org Subject: Re: [R-pkg-devel] Fwd: R CMD check and

Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-19 Thread Georgi Boshnakov
ge. I don't argue whether it should be the one shown now or should be left entirely to the package author, although the current one seems reasonable to me. Georgi -Original Message- From: Hadley Wickham [mailto:h.wick...@gmail.com] Sent: 19 December 2017 19:22 To: Georgi Boshnakov

Re: [R-pkg-devel] Debian: example file is no longer read correctly

2017-12-20 Thread Georgi Boshnakov
s to write exhaustive checks. The check for nofiles > 0 was already suggested, another suggestion is after the signature below. Kind regards, Georgi Boshnakov The chunk: = if (ncol(data) == 2) { ... } if (nc

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

2021-04-14 Thread Georgi Boshnakov
h NEWS for R-4.0.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

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] Troubleshoot unknown macro '\backslashemph' warning

2021-05-24 Thread Georgi Boshnakov
ithub (for Rdpack 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

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

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

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

2021-08-02 Thread Georgi Boshnakov
and 'R CMD config' 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] can't reproduce 'Additional issues' on CRAN with valgrind

2021-08-02 Thread Georgi Boshnakov
->len=0; 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

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] How to debug build-time dynamic documentation issues?

2021-08-12 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 From:

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

2021-08-13 Thread Georgi Boshnakov
ixStats 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

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>

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://a

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] Inquiry

2022-09-27 Thread Georgi Boshnakov
l accessible via '?'). Stating 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-deve

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] 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

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

2023-11-09 Thread Georgi Boshnakov
being 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

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

2024-01-23 Thread Georgi Boshnakov
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://a

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 Bosh

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

2024-04-07 Thread Georgi Boshnakov
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

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

2024-04-28 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

Re: [R-pkg-devel] A function in one of my package is now a method in base R

2024-08-03 Thread Georgi Boshnakov
r package will no longer need to import sort_by from your package. There are some further subtleties here that could be discussed if packages that import explicitly sort_by from your package exist. Georgi Boshnakov Sent from Outlook for Android<https://aka.ms/AAb9ysg>

Re: [R-pkg-devel] R CMD check options

2024-08-17 Thread Georgi Boshnakov
In most cases, installing a recent version of R-devel will do (here, the check with it will show the notes about missing package anchors). Georgi Boshnakov From: R-package-devel on behalf of Kevin R. Coombes Sent: 16 August 2024 18:32 To: r-package

Re: [R-pkg-devel] (no subject)

2018-01-10 Thread Georgi Boshnakov
ilding the vignette and inspecting the generated R file. I think that in recent versions of knitr there is an option to prevent generating the R file in the first place, so this may solve the problem. Georgi -- Dr Georgi Boshnakov tel: (+44) (0)161 306 3684 School of Mathematics

Re: [R-pkg-devel] Is it ever appropriate (or mandatory) to Suggests: R (>= version) ?

2018-01-24 Thread Georgi Boshnakov
The advice at the link you cite ([1] https://stackoverflow.com/a/8638902/1664978) is not quite right: > I believe it is a requirement that if package A imports package B, and > package B lists package C in Depends: then package A must also list > package C in Depends: > A popular stackoverflow an

Re: [R-pkg-devel] Strange Additional_repositories NOTE followed by package install error

2018-02-05 Thread Georgi Boshnakov
s fine of course). Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Hugh Parsonage Sent: 05 February 2018 11:29 To: r-package-devel@r-project.org Subject: [R-pkg-devel] Strange Additional_repositories NOTE followed by p

Re: [R-pkg-devel] Depreciate Function

2018-02-07 Thread Georgi Boshnakov
well go unnoticed and is likely focused trouble to your users. And real pain if your package is used in other packages. Georgi Boshnakov From: R-package-devel [r-package-devel-boun...@r-project.org] on behalf of Rami Krispin [rami.kris...@gmail.com

[R-pkg-devel] discovering if a function in a package is called under RStudio

2018-02-09 Thread Georgi Boshnakov
Hi, Is there a canonical way for a function to discover if it has been called in a session under RStudio? I looked the at the options() but none seems to be dedicated to this. Thanks, Georgi Boshnakov __ R-package-devel@r-project.org mailing list

Re: [R-pkg-devel] discovering if a function in a package is called under RStudio

2018-02-09 Thread Georgi Boshnakov
Many thanks, I should have looked at rstudioapi, from rstudioapi::isAvailable(): > .Platform$GUI [1] "RStudio" Georgi From: jorism...@gmail.com [mailto:jorism...@gmail.com] On Behalf Of Joris Meys Sent: 09 February 2018 09:09 To: Georgi Boshnakov Cc: r-package-devel@r-project.or

Re: [R-pkg-devel] R package CRAN check error

2018-02-16 Thread Georgi Boshnakov
You get a source package suitable for submission by running `R CMD check namepackage' or the equivalent devtools::build() Georgi -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Ilaria Amerise Sent: 16 February 2018 11:35 To: r-packa

Re: [R-pkg-devel] Alignment of Function Arguments For PDF Manual and HTML

2018-03-01 Thread Georgi Boshnakov
window. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Dario Strbenac Sent: 01 March 2018 05:00 To: r-package-devel@r-project.org Subject: [R-pkg-devel] Alignment of Function Arguments For PDF Manual and HTML Good

Re: [R-pkg-devel] Error from svDialogs unless attached to search path

2018-03-28 Thread Georgi Boshnakov
Hi, "svDialogs" depends on svGUI but doesn't import functions it needs. This happens with packages which have not been updated for some time and thus may not conform to the requirements to import stuff even for dependencies. Try adding "svGUI" to "Depends:" as a temporary measure and contact t

Re: [R-pkg-devel] Cannot submit package due to misspell note

2018-04-05 Thread Georgi Boshnakov
inquires. -- Dr Georgi Boshnakov tel: (+44) (0)161 306 3684 School of Mathematics fax: (+44) (0)161 306 3669 Alan Turing Building 1.125 The University of Manchester email: georgi.boshna...@manchester.ac.uk Oxford Road Manchester M13 9PL UK

Re: [R-pkg-devel] Cannot submit package due to misspell note

2018-04-05 Thread Georgi Boshnakov
Procedure for Metric and Interval-Valued Symbolic >Data' Just copy the second line, which is the suggested title in 'title case'. (and write in the Note field on the submission page that the misspelled words are actually names, which you have checked) Georgi Boshnakov

Re: [R-pkg-devel] Cannot submit package due to misspell note

2018-04-06 Thread Georgi Boshnakov
Since this message appears also in R CMD check locally, maybe change in Duncan's text 'submission' to something like The Title field should be in title case! Your title is blah blah blah This is not in title case, which would be Blah, Blah, Blah"

Re: [R-pkg-devel] Saving output of check()

2018-04-11 Thread Georgi Boshnakov
Hi, Not really an answer but I only recently discovered devtools::revdep(), which automates checking reverse dependencies. Georgi Boshnakov From: R-package-devel [r-package-devel-boun...@r-project.org] on behalf of J C Nash [profjcn...@gmail.com

Re: [R-pkg-devel] extending as.mcmc.list

2018-04-12 Thread Georgi Boshnakov
The following is in your NAMESPACE: export(as.mcmc.list) Don't export as.mcmc.list, presumably this is the one from 'coda ' it is rarely your responsibility. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On

Re: [R-pkg-devel] vignette via devtools: sometimes found, sometimes not (same package)

2018-04-16 Thread Georgi Boshnakov
worth checking .Rprofle and similar for the concerned computers (or users, see 1.) Hope this is of some help. Georgi Boshnakov From: R-package-devel [r-package-devel-boun...@r-project.org] on behalf of Alexandre Courtiol [alexandre.court...@gmai

Re: [R-pkg-devel] Explicitly Calling a Method of a specific Class in a Function

2018-05-07 Thread Georgi Boshnakov
se the appropriate method? You need to import 'sp' or something from it, in order to make the plot method for 'SpatialPolygons' available. You can do this by putting import(sp) in NAMESPACE or importFrom(sp, something), where 'something' is some object exported by '

Re: [R-pkg-devel] why can't we importFrom 'methods' ?

2018-05-17 Thread Georgi Boshnakov
The confusion may stem from (the probably inadvertent) feature that the quality control tools do not raise alarm if there are imports from "stats" and "graphics" even if they are not in "Imports:'. Georgi Boshnakov -Original Message- From: R-package-deve

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

2018-05-24 Thread Georgi Boshnakov
y 'predict' 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

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

2018-05-24 Thread Georgi Boshnakov
methods defined for predict, 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 =

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 packa

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] Package builds, installs, and runs but does not pass devtools::check()

2018-07-15 Thread Georgi Boshnakov
#x27;check' sessions. 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

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 }) G

[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
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 but not

Re: [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
) $(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

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

2018-08-28 Thread Georgi Boshnakov
ction(x) x^2 + 1) > 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

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

2018-11-02 Thread Georgi Boshnakov
ON 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 Fr

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

2018-11-07 Thread Georgi Boshnakov
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] 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] Can I put my small data-sets into one .rda file in my CRAN package?

2018-12-05 Thread Georgi Boshnakov
thout withdrawing the possibility for loading the individual datasets. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Joris Meys Sent: 05 December 2018 16:22 To: li...@dewey.myzen.co.uk Cc: R Package Development Subjec

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

2018-12-07 Thread Georgi Boshnakov
times 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

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

2019-03-13 Thread Georgi Boshnakov
t you probably used something 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

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

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

2019-04-06 Thread Georgi Boshnakov
't find 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] 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

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] Function Overloading of S4 Methods

2019-05-18 Thread Georgi Boshnakov
yle even if possible. 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, ...)'.

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

2019-06-07 Thread Georgi Boshnakov
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] .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

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

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: [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 Boshn

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: [R-pkg-devel] Literal LaTeX Text in Function Arguments

2019-08-23 Thread Georgi Boshnakov
unction. You can 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-

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

2019-08-24 Thread Georgi Boshnakov
ecall that 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 __

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

2019-08-24 Thread Georgi Boshnakov
fnition, b) With proper escaping (using 4, instead of 3 backslashes above) we get (in the pdf rendering): subsequent_page_notification = "\... continued \\lmydots \\mydots" \ldots is expanded but the other macros are not. Note that the expansion

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

2019-08-30 Thread Georgi Boshnakov
age Countr (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 T

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] 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
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/pac

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

2019-09-02 Thread Georgi Boshnakov
their '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:

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

2019-09-18 Thread Georgi Boshnakov
y 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'

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)

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

2019-09-24 Thread Georgi Boshnakov
s linked and the links to the vignettes appear 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.v

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

2019-09-30 Thread Georgi Boshnakov
1:17 To: Georgi 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

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] 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-packa

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

2020-03-05 Thread Georgi Boshnakov
nd the 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

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
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] 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] MathJax for Rd files

2020-05-14 Thread Georgi Boshnakov
elp 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-dev

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

2020-05-14 Thread Georgi Boshnakov
ack")) ## Rdo <- parse_Rd(infile, macros = e) ... Maybe I have forgotten to delete the note after fixing that since it works (I just checked in Rstudio) but maybe that's the reason I restricted it to just macros in Rdpack. Georgi Boshnakov -Original Message- From: Duncan M

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 h

  1   2   >