A school district in Texas disinvited novelist Emma Straub from a planned visit with elementary school students because the author used the word fuck on social media, the Houston Chronicle reports.

Straub, the bestselling author of novels including All Adults Here and This Time Tomorrow, had been invited to read her new children’s book, Very Good Hats, illustrated by Blanca Gómez, to kindergarten and first-grade students at two elementary schools in Katy, a city near Houston. The book received a Kirkus star, with a reviewer writing that “children will want to return to it again and again.”

One day before Straub’s visit, district officials told her the visit had been called off.

In an email to parents, administrators wrote, “The visit was intended to be an opportunity to visit with a children’s book author…and learn about the writing process. However, it has been brought to our attention that this author has regularly used inappropriate and foul language on her social media platforms—specifically repeated use of the ‘F’ word. This type of language, as you know, does not align with our school and community’s values.”

Last May, on the day that 19 elementary school students and two teachers were shot to death in Uvalde, Texas, Straub tweeted, “Fuck guns, fuck people who care more about controlling women’s bodies than protecting all of us from people with guns, fuck! It’s too much. So heartbroken.”

On Twitter, Straub replied to a user from Katy who tweeted angrily about the cancellation of her appearance. “I was sorry not to be able to read my silly book about hats and imagination to those kids,” Straub tweeted. “The only F words in the presentation: funny, feline, feelings.”

Michael Schaub, a journalist and regular contributor to NPR, lives near Austin, Texas.