It will fix the problem by loading plotrix and then overwriting size tree:
library(plotrix)
source("<path>/sizetree.R")
Jim
On Sat, Jul 31, 2021 at 2:16 AM Reza Norouzian <rnorouzian at gmail.com>
wrote:
> Thank you, Jim. Just to make sure, does the function you've shared work
> independently or it depends on the current version of the package which has
> the bug?
>
> Thanks again,
> Reza
> *Reza Norouzian (he/him/his)*
> *Visiting Assistant Professor, Quantitative Methods*
> *Department of Educational Psychology*
> *The University of Texas at Austin*
> 1912 Speedway, Stop D5800
> Austin, TX 78712-1289
>
>
>
>
>
> On Fri, Jul 30, 2021 at 12:39 AM Jim Lemon <drjimlemon at gmail.com>
wrote:
>
>> Hi Reza,
>> I just had a look at that and found the problem. I had not passed the
>> "showcount" argument in the recursive calls. The attached
code, which will
>> be in the next version, seems to fix it.
>>
>> Jim
>>
>> On Fri, Jul 30, 2021 at 1:06 PM Reza Norouzian <rnorouzian at
gmail.com>
>> wrote:
>>
>>> Thanks a lot! In case the bug is fixed, I'd appreciate it if
you could
>>> let me know.
>>>
>>> Thanks again,
>>> Reza
>>> *Reza Norouzian (he/him/his)*
>>> *Visiting Assistant Professor, Quantitative Methods*
>>> *Department of Educational Psychology*
>>> *The University of Texas at Austin*
>>> 1912 Speedway, Stop D5800
>>> Austin, TX 78712-1289
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Jul 29, 2021 at 4:42 PM Jim Lemon <drjimlemon at
gmail.com> wrote:
>>>
>>>> Hi Reza,
>>>> Thanks for letting me know. I will get to this ASAP.
>>>>
>>>> Jim
>>>>
>>>> On Thu, Jul 29, 2021 at 11:21 PM Reza Norouzian <rnorouzian
at gmail.com>
>>>> wrote:
>>>> >
>>>> > Dear Jim,
>>>> >
>>>> > Thank you for the nice package. I just wanted to let you
know that
>>>> the `showcount = FALSE` in the `siztree` function doesn't
work properly and
>>>> that the function likely has a bug.
>>>> >
>>>> > I have reported this with a reproducible example on
StackOverflow as
>>>> well, and others also confirmed it.
>>>> >
>>>> > Thanks for your attention,
>>>> > Reza
>>>> > Reza Norouzian (he/him/his)
>>>> > Visiting Assistant Professor, Quantitative Methods
>>>> > Department of Educational Psychology
>>>> > The University of Texas at Austin
>>>> > 1912 Speedway, Stop D5800
>>>> > Austin, TX 78712-1289
>>>> >
>>>> >
>>>> >
>>>>
>>>
[[alternative HTML version deleted]]