fawda123 / ggord

a take on ordination plots using ggplot2
https://fawda123.github.io/ggord/
62 stars 20 forks source link

Word 'italic' showing up in rda plots #16

Closed jeduchamp closed 4 years ago

jeduchamp commented 4 years ago

Issues

Any issues or feature requests can be posted on the issues page. Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on https://stackoverflow.com/ or send me a direct message.

Please include a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.


When running ggord on an rda from package vegan, the species names include the word 'italic'. I edited the ggord.default function in my own script file to fix it, but I wanted to let you all know.
I am using R version 4.0. Below is my fix to ggord.default, but I expect there is a better way. The ### indicate a line that I edited.

data(dune) data(dune.env) dune.Manure <- rda(dune ~ Manure, dune.env)

ggord(dune.Manure, ptslab = TRUE, ellipse = FALSE, hull=TRUE, poly=FALSE, repel=T, veclsz = 0.75)


![reprex-ggord rda italics issue](https://user-images.githubusercontent.com/65374478/81997411-a1250f80-961d-11ea-9a10-2d5e9b82439f.jpeg)
fawda123 commented 4 years ago

Thanks for the reprex. It will work if you just set parse = TRUE in your plot call. I've just changed this to the default fa8e1ebab27f45a5a73a10f12a80d0f6be160daf

jeduchamp commented 4 years ago

That’s great. Thanks!

Joe Duchamp Associate Professor Department of Biology Indiana University of Pennsylvania


From: Marcus W Beck notifications@github.com Sent: Friday, May 15, 2020 7:44:58 AM To: fawda123/ggord ggord@noreply.github.com Cc: Joseph Duchamp jduchamp@iup.edu; Author author@noreply.github.com Subject: Re: [fawda123/ggord] Word 'italic' showing up in rda plots (#16)

Thanks for the reprex. It will work if you just set parse = TRUE in your plot call. I've just changed this to the default fa8e1ebhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffawda123%2Fggord%2Fcommit%2Ffa8e1ebab27f45a5a73a10f12a80d0f6be160daf&data=02%7C01%7Cjduchamp%40iup.edu%7C8761fec6caed48d7293508d7f8c56572%7C96704ed7a3e14bb8ba918b63ee16883e%7C0%7C0%7C637251399036204409&sdata=wDFik4HQIxXHqubpG0%2F%2FBd2l7ENENkoNod6ELyfof6M%3D&reserved=0

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffawda123%2Fggord%2Fissues%2F16%23issuecomment-629189350&data=02%7C01%7Cjduchamp%40iup.edu%7C8761fec6caed48d7293508d7f8c56572%7C96704ed7a3e14bb8ba918b63ee16883e%7C0%7C0%7C637251399036204409&sdata=bP3roHz%2FAPzjb7vT9ZWhz4NYECAdPYEtSuw5BpWvt0w%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAPSYSDWDC52TSM3Y4SF4HMDRRUTLVANCNFSM4NBEE2HQ&data=02%7C01%7Cjduchamp%40iup.edu%7C8761fec6caed48d7293508d7f8c56572%7C96704ed7a3e14bb8ba918b63ee16883e%7C0%7C0%7C637251399036214402&sdata=OgDpuXeNDMshBEcpyetavNk6KfHh9wHC5vKqcJQOQpk%3D&reserved=0.