[R-pkg-devel] Possible malware(?) in a vignette

2024-01-25 Thread Colin Gillespie
Hi All, I've had two emails from users in the last 24 hours about malware around one of my vignettes. A snippet from the last user is: --- I was trying to install a R package that depends on PowerRLaw two weeks ago. However my virus protection software F secure did not allow me to install it fro

Re: [R-pkg-devel] Additional CRAN Checks

2021-09-07 Thread Colin Gillespie
package author is making a mistake. Thanks Colin > > On September 6, 2021 4:02:08 AM PDT, Colin Gillespie > wrote: > >Dear All, > > > >Sorry if this is the wrong mailing address. > > > >I was doing a little investigation of R versions in packages an

[R-pkg-devel] Additional CRAN Checks

2021-09-06 Thread Colin Gillespie
uot;, "epibasix", "europepmc", "fabisearch", "FDX", "ggetho", "hyper.fit", "MedSurvey", "NBPSeq", "NetIndices", "NFWdist", "OmegaG", "primer", "RATest", "refund"

[R-pkg-devel] Accessing features in R4.0.

2020-12-16 Thread Colin Gillespie
t;) When checking on win-builder R3.6 I get the note * checking dependencies in R code ... NOTE Missing or unexported object: 'tools::R_user_dir' ## Question Is my code correct and can I ignore this note? Thanks Colin Dr Colin Gillespie http://www.mas.ncl.ac.uk/~ncsg3/ _

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

2019-05-16 Thread Colin Gillespie
__But__ I do appreciate that overwriting plot.default() may cause chaos for other package authors, so overall it's probably the correct choice. Thanks colin On Mon, 13 May 2019 at 12:26, Colin Gillespie wrote: > > Dr Colin Gillespie > > > > > Or more simply: call the

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

2019-05-13 Thread Colin Gillespie
Dr Colin Gillespie > > Or more simply: call the method prettyBplot. Rightly (but perhaps wrongly) I was trying for a simple method where the plots just change. If prettyB loaded, the plots just look a little nicer. If prettyB isn't available, then the plot function works as norm

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

2019-05-13 Thread Colin Gillespie
nction just calls `plot()` again, everything works, e.g. plot.lm is fine plot(lm(1:10 ~ rnorm(10)), which = 1) Thanks > > > Georgi Boshnakov > > > -Original Message- > From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On > Behalf Of Colin Gil

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

2019-05-13 Thread Colin Gillespie
Dear All, I'm developing a small package to make plotting methods a little bit nicer looking: https://github.com/jumpingrivers/prettyB/ The general idea is to replace plot.default() with an alternative (matching all arguments) and export. This would allow users to simply load the package and use

Re: [R-pkg-devel] Visible bindings and reference classes

2015-08-11 Thread Colin Gillespie
> > > To your question: > > Reference classes are used in *many* places, and the use of ' <<- ' > is really "standard" there. > e.g., package 'lme4', or 'pcalg' are two packages I'm involved with, > which use ref.classes and ' <<- ' but are "fine" with that. > > So there must be something peculi

[R-pkg-devel] Visible bindings and reference classes

2015-08-10 Thread Colin Gillespie
Dear All, I have a package that uses reference classes. When I build the package I get numerous notes of the sort Note: no visible binding for '<<-' assignment to 'pars' I've tried using GlobalVariables, but that didn't solve the issue. After some googling, I came across the page http://stackov