posit-dev / positron

Positron, a next-generation data science IDE
Other
997 stars 22 forks source link

An R package for Ark #3462

Open lionel- opened 2 weeks ago

lionel- commented 2 weeks ago

@jennybc had the nice idea of structuring our internal code as an R package. We'd still embed the R files and load them as we currently do, but the file structure in the repository would follow that of a package. The goal would be to be able to use testthat infrastructure for unit tests. For instance I'm currently moving rlang::zap_srcref() to ark and would love to be able to easily write R-side unit tests.

Relatedly, we should probably grab https://cran.r-project.org/web/packages/ark/index.html while it's available, even if the package published to CRAN doesn't do much.

juliasilge commented 2 weeks ago

@lionel- If you do want to do a small package ahead of useR, we are all totally supportive of that. 👍