Re: [R] R CMD check vs RStudio check

2024-05-09 Thread Boylan, Ross via R-help
ideas? Deleting the directory just seems weird and so it's hard to know where to look. Thanks. Ross -Original Message- From: Ivan Krylov Sent: Friday, May 3, 2024 12:52 PM To: Boylan, Ross via R-help Cc: Boylan, Ross Subject: Re: [R] R CMD check vs RStudio check В Fri, 3 May 2024 19

[R] R CMD check vs RStudio check

2024-05-03 Thread Boylan, Ross via R-help
I am trying to figure out why checking my package is deleting my inst/doc/ directory when I do it in RStudio. Along the way I've hit another puzzle. In RStudio the check runs and is mostly OK, aside from the deletion. But when I try with vanilla R, the check fails almost immediately:

[R] missing() fails to detect missing

2024-04-17 Thread Boylan, Ross via R-help
When a generic (S4) has an argument with a default followed by ..., missing() doesn't seem to work if the method omits the ... Sample--- foo <- function(x, y=0, ...){ "you are very generic" } # no ... in function arguments setMethod("foo",

[R] Time Zone problems: midnight goes in; 8am comes out

2022-03-01 Thread Boylan, Ross via R-help
I'm having problems with timezones using lubridate, but it's not clear to me the difficulty is in lubridate. - > r2 <- parse_date_time("1970-01-01 00:01:00", "ymd HMS", tz="PST") > r2 [1] "1970-01-01 08:01:00 PST" ## Oops: midnight has turned in 8am >

Re: [ESS] Developing R packages under ESS

2018-03-08 Thread Boylan, Ross
to note it failed. Ross From: Sparapani, Rodney <rspar...@mcw.edu> Sent: Thursday, March 8, 2018 11:21:57 AM To: Boylan, Ross Cc: ess-help Subject: Re: [ESS] Developing R packages under ESS Hi Ross: Oh, you mean Sweaving and knitting? That doe

[ESS] Developing R packages under ESS

2018-03-07 Thread Boylan, Ross
Can anyone suggest to me a good way to develop R packages with ESS? "good" here means that I can debug the code and make changes to the code without rebuilding the whole package. So far I've tried a bunch of different approaches, but none has quite worked. 1. When I had an old (or even new)

Re: [ESS] make problems with latest git [SOLVEDish]

2018-03-06 Thread Boylan, Ross
Thank you, Lionel and Rodney. That did the trick: the whole thing built, including the documents. Will everything actually work properly without xref? I assume xref was required because something uses it. I even got a build in the original directory after doing a make clean. There are still

Re: [ESS] void-function ess-message [SOLVED?]

2017-09-25 Thread Boylan, Ross
I did a make clean and then make, and now everything seems to be working. If anyone has a more precise understanding of the source of the previous error, I'd love to know. My theory was that the old elc files were screwing things up. There were also a bunch of warnings associated with the

[ESS] void-function ess-message

2017-09-25 Thread Boylan, Ross
I just updated ESS to the latest git version (62994e21c816e2bdd0e5b74f8cfdc00e6bb6c088), and now get the error about ess-message being undefined on startup. Any ideas what the problem is? The function ess-message seems to be defined in both ess-comp and ess-utils, so perhaps this is some kind

[ESS] trouble with interactive SAS mode in ESS 13.09-1

2016-11-10 Thread Boylan, Ross
I don't seem able to get my code to execute in SAS. Specifically, only the first line in the region seems to be transmitted. Could the fact it is in a file that does not have a .sas extension be a factor? Also, I have problems exiting. BTW, http://ess.r-project.org/Manual/news.html doesn't

Re: [R] S4 non-virtual class with no slots? [SOLVED]

2016-04-22 Thread Boylan, Ross
that's not the case. Ross From: Martin Morgan [martin.mor...@roswellpark.org] Sent: Friday, April 22, 2016 2:36 PM To: Boylan, Ross; r-help@r-project.org Subject: Re: [R] S4 non-virtual class with no slots? On 04/22/2016 04:38 PM, Boylan, Ross wrote

[R] S4 non-virtual class with no slots?

2016-04-22 Thread Boylan, Ross
It seems that if an S4 class has no slots it can't be instantiated because it is assumed to be virtual. Is there a way around this other than adding a do-nothing slot? A singleton would be OK, though is not essential. Problem: EmptyFitResult <- setClass("EmptyFitResult",