Sometimes they are cryptic, sometimes just wrong.

On Sat, Mar 9, 2024 at 4:20 PM Mauro Cavalcanti <[email protected]> wrote:

> Dear Dr. Adams,
>
> It works fine now, with thf fix you provided. R error messages are rather
> cryptic!
>
> Thanks a lot!
>
> Warmest regards,
>
> Em sáb., 9 de mar. de 2024 às 18:02, Adams, Dean [EEOB] <
> [email protected]> escreveu:
>
>> For reasons due to CRAN becoming more stringent with S3-type function
>> calls, we needed to change the plot.param to:
>>
>>
>>
>> plot_param …  (the previous no looks for an object or function called
>> ‘param’).
>>
>>
>>
>> Dean
>>
>>
>>
>> Dr. Dean C. Adams
>>
>> Distinguished Professor of Evolutionary Biology
>>
>> Department of Ecology, Evolution, and Organismal Biology
>>
>> Iowa State University
>>
>> https://faculty.sites.iastate.edu/dcadams/
>>
>> phone: 515-294-3834
>>
>>
>>
>> *From:* [email protected] <[email protected]> *On
>> Behalf Of *Mauro Cavalcanti
>> *Sent:* Saturday, March 9, 2024 2:52 PM
>> *To:* Morphmet <[email protected]>
>> *Subject:* [MORPHMET2] Error attempting running 'plotAllSpecimens()'
>> function in geomorph R package
>>
>>
>>
>> Dear ALL,
>>
>>
>>
>> I have been getting an error when attempting to run function
>> plotAllSpecimens() in geomorph R. package version 4.0.7 (the latest). The
>> error appears when I attempt to pass a list of parameters to customize the
>> plot.
>>
>>
>>
>> I tried the following:
>>
>>
>>
>> data(plethodon)
>>
>> Y.gpa<-gpagen(plethodon$land, print.progress = FALSE)
>>
>> plotAllSpecimens(Y.gpa$coords,links=plethodon$links,label=TRUE,
>> plot.param = list(pt.bg = "green", mean.cex=1, link.col="red",
>> txt.pos=3, txt.cex=1))
>>
>>
>>
>> The error message below is displayed:
>>
>>
>>
>> Error in plotAllSpecimens(Y.gpa$coords, links = plethodon$links, label = 
>> TRUE,  :
>>
>>   unused argument (plot.param = list(pt.bg = "green", mean.cex = 1, link.col 
>> = "red", txt.pos = 3, txt.cex = 1))
>>
>>
>>
>> Looking quickly at the function source, I could not discern any obvious
>> problems.
>>
>>
>>
>> I am currently running R version 4.3.2 and get the warming messages below
>> when loading geomorph and associated packages:
>>
>>
>>
>> Warning messages:
>>
>> 1: package ‘geomorph’ was built under R version 4.3.3
>>
>> 2: package ‘rgl’ was built under R version 4.3.3
>>
>>
>>
>> Could someone out there provide some hints on how to solve this problem?
>>
>>
>>
>> Thanks in advance!
>>
>>
>>
>> With best regards,
>>
>>
>>
>> --
>>
>> Dr. Mauro J. Cavalcanti
>> E-mail: [email protected]
>> Web: https://github.com/maurobio
>> "Life is complex. It consists of real and imaginary parts."
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Morphmet" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/morphmet2/CAC1JhZbXtN1tU48WgoNu45TbmM6Nmejz3PpSbB_CjMju0ejqRA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/morphmet2/CAC1JhZbXtN1tU48WgoNu45TbmM6Nmejz3PpSbB_CjMju0ejqRA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Dr. Mauro J. Cavalcanti
> E-mail: [email protected]
> Web: https://github.com/maurobio
> "Life is complex. It consists of real and imaginary parts."
>
> --
> You received this message because you are subscribed to the Google Groups
> "Morphmet" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/morphmet2/CAC1JhZbZNYKAV-12h%3DsFFeQG%2B5HUjG0TW4P8sO5YfgLKNTmWmg%40mail.gmail.com
> <https://groups.google.com/d/msgid/morphmet2/CAC1JhZbZNYKAV-12h%3DsFFeQG%2B5HUjG0TW4P8sO5YfgLKNTmWmg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Miriam Zelditch
Associate Research Scientist
Museum of Paleontology
University of Michigan
Ann Arbor, MI  48109-1079
cell: 734-353-1671
phone: 734-764-0489
fax: 734-936-1380

-- 
You received this message because you are subscribed to the Google Groups 
"Morphmet" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/morphmet2/CA%2BxQ-HRW%3DovObjM-EyVYP8naWSq3RbrXSL9Dx5pjDBpk%2Bpa4AQ%40mail.gmail.com.

Reply via email to