uclahs-cds / package-BoutrosLab-plotting-general

Functions to Create Publication-Quality Plots
https://uclahs-cds.github.io/package-BoutrosLab-plotting-general
11 stars 4 forks source link

Fix plot issues in pkgdown #45

Open stefaneng opened 2 years ago

stefaneng commented 2 years ago

There are some strange issues with pkgdown plots. The issues differ depending on if building locally or via github actions. Some of the issues can be seen here:

https://github.com/uclahs-cds/public-R-BoutrosLab-plotting-general/commit/aded1654f83a6669a6b347af02b504e679a2d769

image

For now I have reverted back to the manually updated pkgdown plots but will look into why it generates the plots incorrectly.

lydiayliu commented 1 year ago

The last two example figures for create.dotmap are also not generated: https://uclahs-cds.github.io/public-R-BoutrosLab-plotting-general/reference/create.dotmap.html

stefaneng commented 1 year ago

@lydiayliu Oh, good catch. I think it is due to that rogue dev.off() call right above it.