Simon Smart

@simonsmart.bsky.social

✨ Research Software Engineer at University of Birmingham 🥔 Former spudologist 🌱 Grows plants 🚲 Rides bikes 🍺 Brews beer 🌐 https://github.com/simon-smart88

When submitting #Rstats packages to CRAN you can either: spend weeks writing a comprehensive test suite and get threatened with removal when one don't pass under some unusual condition, OR don't write any tests, R CMD check still passes, most users are none the wiser and you won't be threatened.

It's surprising that neither R CMD INSTALL nor R CMD check flag having two identically named functions in an #rstats package. It's easy to accidentally duplicate when refactoring code and can lead to much confusion!

Is there a term for figuring something out that LLMs say isn't possible? Grind coding? Organic coding? In this case, rendering <text> elements in an SVG to <path> in #Rstats. (Claude cooked up a whole non-functioning package in an attempt to do it).

'<svg><text x="0" y="200" 
style="font-size: 100px;">
Hello world</text></svg>' |>
charToRaw() |>
rsvg::rsvg_svg(NULL) |>
rawToChar()

#rstats when I run devtools::test() from the Build pane I get an error that mirai isn't installed even though it is. I use r2u and have already uninstalled with apt remove and reinstalled. It runs okay from the terminal but whatever environment shinytest2 runs in can't find mirai either. Any ideas?

==> devtools::test()

ℹ Testing metainsight
Error in load_imports(path) : The package "mirai" is required.
Calls: <Anonymous> ... load_imports -> deps_check_installed -> check_installed
Execution halted

Exited with status 1.