rstudio / fontawesome

Easily insert FontAwesome icons into R Markdown docs and Shiny apps
https://rstudio.github.io/fontawesome/
Other
295 stars 39 forks source link

[Bug] fa has conflict with {omsvg} package #106

Open jhk0530 opened 1 year ago

jhk0530 commented 1 year ago

Problem

Hi, thanks for nice package.

I followed issue related "fa-icon list" #81 . and tried omsvg package's info_lineawesome()

after that, When I call fa while omsvg is loaded, fa returns icon and error message (which not effected to icon maybe)

error

Reproducible code

Here is minimal code to reproduce this problem.

library(fontawesome)
library(omsvg)
fa('r-project')

Error in svg$width : $ operator is invalid for atomic vectors

Version info

r: 4.2.2 rstudio: 2022.12.0 build 353 fontawesome: 0.5.0.9000 omsvg: 0.1.0

ETC

I uploaded this issue in fontawesome but I'm not sure about whether this issue is caused by omsvg, or fontawesome.