Question: I am trying to run a simple command using gtrendsR package, but it's giving me an error saying **Error in make.names(col.names, unique = TRUE) : 
 invalid multibyte string 1**

Here is the code:

```
res <- gtrends(c("nhl", "nba"), geo = c("CA", "US"))

```

Answer: 
This issue was resolved by removing `gatsby-plugin-preact`>
Thanks to @Nenu, I discovered that the issue is elsewhere. Using the example code in a fresh gatsby project worked as expected.