Errors in trophic position plots

58 views
Skip to first unread message

Tatiana Acosta Pachon

unread,
Jun 7, 2023, 2:29:58 PM6/7/23
to trophicposi...@googlegroups.com
Hi:


I run all the lines as appear in the page, but when I try to run the plots:
plot(consumer, b1 = "Pelagic baseline", b2 = "Benthic baseline")

It generate an error message:
> plot(consumer, b1 = "Pelagic baseline", b2 = "Benthic baseline")
Error in draw_axis(break_positions = guide$key[[aesthetic]], break_labels = guide$key$.label,  :
  lazy-load database '/Library/Frameworks/R.framework/Versions/4.2/Resources/library/gtable/R/gtable.rdb' is corrupt
In addition: Warning messages:
1: In draw_axis(break_positions = guide$key[[aesthetic]], break_labels = guide$key$.label,  :
  restarting interrupted promise evaluation
2: In draw_axis(break_positions = guide$key[[aesthetic]], break_labels = guide$key$.label,  :
  internal error -3 in R_decompress1

Could you please help me with this. I used the bilagay data.
BilagayMEC <- read.csv(system.file("extdata", "Bilagay-MEC.csv",
                                   package = "tRophicPosition"))

Thanks in advance

Tatiana
---

Dra. Tatiana A. Acosta Pachón

Profesora - Investigadora
Departamento Académico de Ciencias Marinas y Costeras
Universidad Autónoma de Baja California Sur
Baja California Sur, Mexico

Claudio Quezada-Romegialli

unread,
Jun 7, 2023, 5:03:14 PM6/7/23
to tRophicPosition
Hola Tatiana

It seems that the problem is not related to tRophicPosition but the gtable package. Try to reinstall it and let me know.

Also, you can "knit to pdf" word or html to see the code you are using. It shouldn't fail.

Cheers

Claudio
Reply all
Reply to author
Forward
0 new messages