SebKrantz / collapse

Advanced and Fast Data Transformation in R
https://sebkrantz.github.io/collapse/
Other
647 stars 33 forks source link

Small suggestion: use tinytest instead of testthat, to be more in line with fastverse principles #443

Open tony-aw opened 1 year ago

tony-aw commented 1 year ago

Hi,

Small suggestion: To make the collapse R package more in line with fastverse (and tinyverse) principles, you might want to perhaps run your tests using the tinytest R package, instead of testthat. This is just a small suggestion though, nothing more.

Kind regards,

Tony

SebKrantz commented 1 year ago

Thanks, I agree it's a huge bloat to install on a server. I'll look into it as I find time. I like the integration of testthat with Rstudio, that's why I have kept it, and it doesn't really matter for CRAN as those servers have all packages preinstalled.

You can omit installing suggested packages by adding dependencies = "NA" to your YAML:


jobs:
  MyJob:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: r-lib/actions/setup-r@v2
      - uses: r-lib/actions/setup-r-dependencies@v2
        with:
          dependencies: "NA"