[Rd] Determining the size of a package

2024-01-17 Thread William Revelle
Dear fellow developers,

Is there an easy way to determine how big my packages  (psych and psychTools)  
will be on various versions of CRAN?

I have been running into the dread 'you are bigger than 5 MB" message for some 
installations of R on CRAN but not others.  The particular problem seems to be 
some of the mac versions (specifically r-oldrel-macos-arm64 and 
r-release-macos-X64 )

When I build it on my Mac M1 it is well within the limits, but when pushing to 
CRAN,  I run into the size message.

Is there a way I can find what the size will be on these various 
implementations without bothering the nice people at CRAN.

Thanks.

William Revellepersonality-project.org/revelle.html
Professorpersonality-project.org
Department of Psychology www.wcas.northwestern.edu/psych/
Northwestern Universitywww.northwestern.edu/
Use R for psychology personality-project.org/r
It is 90 seconds to midnightwww.thebulletin.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] diag(-1) produces weird result

2018-09-17 Thread William Revelle
Dear list

A strange bug in the psych package is due to the behavior of the diag function:

It gives the expected values for 1, a vector (-1,1), but not for -1

Is this a known feature?


> diag(1)
 [,1]
[1,]1
> diag(c(-1,1))
 [,1] [,2]
[1,]   -10
[2,]01
> diag(-1)
Error in diag(-1) : invalid 'nrow' value (< 0)


Bill


William Revellepersonality-project.org/revelle.html
Professor personality-project.org
Department of Psychology www.wcas.northwestern.edu/psych/
Northwestern Universitywww.northwestern.edu/
Use R for psychology personality-project.org/r
It is 2   minutes to midnight   www.thebulletin.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] CRAN submit page down

2015-04-27 Thread William Revelle
Thanks.

It is up again.

Bill

> On Apr 26, 2015, at 12:53 PM, Uwe Ligges  
> wrote:
> 
> 
> 
> On 26.04.2015 13:23, William Revelle wrote:
>> This still seems to be the case.
>> 
>> I tried uploading the most recent version of psych and got as far as the 
>> Step 3 page which says that it has sent out an email.
>> However, although normally this step takes agout 1 minute, nothing has 
>> happened for 16 hours.
>> 
>> Should we just use the old system of uploading to the ftp site and sending a 
>> confirming email?
>> 
>> Thanks of course to the CRAN maintainers without whom this amazing system 
>> would not exist.
> 
> The sysadmins in Vienna will try to fix the problems on Monday.
> 
> The submission page says so now.
> 
> I'd be happy if non-urgent package submissions can be deferred until the web 
> submission page is working again. In case of really urgent submissions, 
> please go ahead with ftp uploads but *please* send the mails in the format 
> the CRAN team asks for in the CRAN policies.
> 
> Thanks, sorry for the inconvenience and best wishes,
> Uwe Ligges
> 
> 
> 
>> 
>> Bill
>> 
>>> On Apr 23, 2015, at 2:52 PM, Dirk Eddelbuettel  wrote:
>>> 
>>> 
>>> Andrie noticed that first, and I can confirm: from our end, it looks as if
>>> the backend to http://cran.r-project.org/submit.html is currently down.
>>> 
>>> Dirk
>>> 
>>> --
>>> http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
>>> 
>>> __
>>> R-devel@r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>> 
>> 
>> William Revelle 
>> http://personality-project.org/revelle.html
>> Professor   http://personality-project.org
>> Department of Psychology   http://www.wcas.northwestern.edu/psych/
>> Northwestern University http://www.northwestern.edu/
>> Use R for psychology http://personality-project.org/r
>> It is 3 minutes to midnight http://www.thebulletin.org
>> 
>> __
>> R-devel@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel

William Revellehttp://personality-project.org/revelle.html
Professor  http://personality-project.org
Department of Psychology   http://www.wcas.northwestern.edu/psych/
Northwestern Universityhttp://www.northwestern.edu/
Use R for psychology http://personality-project.org/r
It is 3 minutes to midnighthttp://www.thebulletin.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] CRAN submit page down

2015-04-26 Thread William Revelle
This still seems to be the case.  

I tried uploading the most recent version of psych and got as far as the Step 3 
page which says that it has sent out an email.
However, although normally this step takes agout 1 minute, nothing has happened 
for 16 hours.

Should we just use the old system of uploading to the ftp site and sending a 
confirming email?

Thanks of course to the CRAN maintainers without whom this amazing system would 
not exist.


Bill

> On Apr 23, 2015, at 2:52 PM, Dirk Eddelbuettel  wrote:
> 
> 
> Andrie noticed that first, and I can confirm: from our end, it looks as if
> the backend to http://cran.r-project.org/submit.html is currently down.
> 
> Dirk
> 
> -- 
> http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
> 
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 

William Revellehttp://personality-project.org/revelle.html
Professor  http://personality-project.org
Department of Psychology   http://www.wcas.northwestern.edu/psych/
Northwestern Universityhttp://www.northwestern.edu/
Use R for psychology http://personality-project.org/r
It is 3 minutes to midnighthttp://www.thebulletin.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] How to test package on Solaris

2011-11-03 Thread William Revelle
Dear R developers,

Is there a way to pretest a package on the Solaris-sparc and solaris-x86 
systems equivalent to the win-builder check?

My psych package (1.1.10 and 1.1.11) passes all checks for the Mac on my 
system, on the win-builder checking system supported by Uwe, and then passes 
Kurt's tests to install on CRAN.  But it then fails when being built for the 
solaris systems.  

Rather than burden Kurt and Uwe and the whole CRAN distribution process with 
frequent attempts to fix the problem, it would be preferable if I could pretest 
on a solaris system and then upload the final result.

I note from reading past queries to the list that this question has been asked 
before and the solution seems to have been some nice soul  volunteering to test 
a particular package.  A more general solution would seem preferred, if this is 
possible.

Thanks.

Bill



William Revellehttp://personality-project.org/revelle.html
Professor  http://personality-project.org
Department of Psychology   http://www.wcas.northwestern.edu/psych/
Northwestern Universityhttp://www.northwestern.edu/
Use R for psychology http://personality-project.org/r
It is 6 minutes to midnighthttp://www.thebulletin.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] minor typo in biplot.rd

2010-11-25 Thread William Revelle

Dear R developers,

There is a minor typo in the documentation for biplot   (in Version 
2.12.0 as well as 2.13.0 )

"is the the dimname is NULL"  should be "if the dimname is NULL"

xlabs
A vector of character strings to label the first set of points: the 
default is to use the row dimname of x, or 1:n is the dimname is NULL.


if
ylabs
A vector of character strings to label the second set of points: the 
default is to use the row dimname of y, or 1:n is the dimname is NULL.


if
Bill



 sessionInfo()

R version 2.13.0 Under development (unstable) (2010-11-05 r53534)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base


other attached packages:
[1] psych_1.0-93

loaded via a namespace (and not attached):
[1] tools_2.13.0
--
William Revelle http://personality-project.org/revelle.html
Professor   http://personality-project.org
Department of Psychology http://www.wcas.northwestern.edu/psych/
Northwestern University http://www.northwestern.edu/
Use R for psychology   http://personality-project.org/r
It is 6 minutes to midnight http://www.thebulletin.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] \code{\link{foo}} fails in 2.10.0

2009-08-25 Thread William Revelle

Duncan,
  Actually, I had this problem building a package of mine (psych) 
from source.  It also happens with one of the core installations 
(methods in the util package) which I downloaded from the development 
site for the Mac.


Using 2.9.1
See Also
S3Methods, class, getS3method.
For S4, showMethods, Methods.

but using
2.10.0
See Also
S3Methods, class, .
For S4, showMethods, Methods.


(note that the getS3method is missing following the comma).

I first noticed this problem when I installed 2.10.0 using the  08-19 
build.  I am sorry, but I do not have that version number.)

I can use the 05-22 build  and it is not a problem.

I also note that when compiling from source, in the 5-22 build, the 
help files are built for  text, html, latex, and examples

 00.psych-package  texthtmllatex   example
  Harmantexthtmllatex   example
  ICC   texthtmllatex   example
...

but, when using the most recent build I get
*** installing help indices
  converting help for package 'psych'
finding HTML links ... done
00.psych-packagehtml
Harman  html


My sessionInfo() is
R version 2.10.0 Under development (unstable) (2009-08-25 r49420)
i386-apple-darwin9.8.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base


other attached packages:
[1] psych_1.0-79


Bill




At 12:44 PM -0400 8/25/09, Duncan Murdoch wrote:

On 8/25/2009 11:59 AM, William Revelle wrote:
I have noticed that many cross references  in the help files using 
the   \code{\link{foo}}  command in the .Rd file fail to work in 
2.10.0. Unfortunately, it fails only some of the time.


As an example, consider the lines in the factanal help file:
Using 2.10.0


Sorry, please ignore the "can't find factanal" part of my previous 
message, you're talking about the factanal man page in stats (as 
Michael Dewey pointed out to me).


But the advice still stands:  you may need to rebuild from source to 
get all the help working.  If you're working with a binary build, 
try again with a newer one when it is available.  r49420 isn't very 
old, but it might be old enough so that something like this has been 
fixed.


Duncan Murdoch



See Also
, , , ability.cov, Harman23.cor, Harman74.cor


when done in 2.9.1, this reads

See Also
print.loadings, varimax, princomp, ability.cov, Harman23.cor, Harman74.cor


I do not know if this is just a Mac issue, but it is troublesome.





For 2.10.0 (development)  I am using:

R version 2.10.0 Under development (unstable) (2009-08-25 r49420)
i386-apple-darwin9.8.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base   


other attached packages:
[1] psych_1.0-79


For 2.9.1 I am using

R version 2.9.1 (2009-06-26)
i386-apple-darwin8.11.1

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base   


other attached packages:
[1] psych_1.0-79

Thanks to all the developers of such a great program.

Bill



--
William Revelle http://personality-project.org/revelle.html
Professor   http://personality-project.org/personality.html
Department of Psychology http://www.wcas.northwestern.edu/psych/
Northwestern University http://www.northwestern.edu/
Use R for psychology   http://personality-project.org/r
It is 5 minutes to midnight http://www.thebulletin.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] \code{\link{foo}} fails in 2.10.0

2009-08-25 Thread William Revelle
I have noticed that many cross references  in the help files using 
the   \code{\link{foo}}  command in the .Rd file fail to work in 
2.10.0. Unfortunately, it fails only some of the time.


As an example, consider the lines in the factanal help file:
Using 2.10.0

See Also
, , , ability.cov, Harman23.cor, Harman74.cor


when done in 2.9.1, this reads

See Also
print.loadings, varimax, princomp, ability.cov, Harman23.cor, Harman74.cor


I do not know if this is just a Mac issue, but it is troublesome.





For 2.10.0 (development)  I am using:

R version 2.10.0 Under development (unstable) (2009-08-25 r49420)
i386-apple-darwin9.8.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base


other attached packages:
[1] psych_1.0-79


For 2.9.1 I am using

R version 2.9.1 (2009-06-26)
i386-apple-darwin8.11.1

locale:
en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics  grDevices utils datasets  methods   base


other attached packages:
[1] psych_1.0-79

Thanks to all the developers of such a great program.

Bill

--
William Revelle http://personality-project.org/revelle.html
Professor   http://personality-project.org/personality.html
Department of Psychology http://www.wcas.northwestern.edu/psych/
Northwestern University http://www.northwestern.edu/
Use R for psychology   http://personality-project.org/r
It is 5 minutes to midnight http://www.thebulletin.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel