Test Rmarkdown Integration

Test R Markdown

By writing this post, I test if Rmarkdown could be integrated properly with my personal website.

Some test codes

Here I make some figures using the iris dataset.

library(tidyverse)
ggplot(data = iris, aes(x = Sepal.Length, y = Sepal.Width, color = Species, shape = Species, fill = Species)) +
  geom_point() +
  stat_smooth(alpha = 0.3, method = "lm") +
  scale_color_brewer(palette = "Dark2") +
  scale_fill_brewer(palette = "Dark2") +
  theme_bw()

During the test, I found that the Rmd could not produce a new html in the post folder. However, It works if I move the Rmd outside the website folder and produce a html and copy the html to the post folder.

Qiang Yang 杨强
Qiang Yang 杨强

My research interests include ecological networks, biological invasion and global changes.