I'm building an R package (https://github.com/AlgoCompSynth/eikosany) that includes a btw Shiny chat agent to answer questions from a user about the package. Note that the user would see the package as installed, not as I see it as the developer or as you'd see it in the GitHub source repository.
To make the chat agent's question answering easier, I'm adding skills with btw::btw_task_create_skill. btw placed them in a directory .btw/skills in the root of the package as seen by the developer. devtools::check() does not like that for two reasons:
- It's a non-standard file in the root of the package directory, and
- It's a "hidden" file (name starts with a
.).
I've moved the directory to inst/btw, which satisfies devtools::check() and means the skills will be in the package both for me as the developer and a user who's installed it. But will the chat agent be able to find them?