r-lib / revdepcheck

R package reverse dependency checking
https://revdepcheck.r-lib.org
Other
99 stars 31 forks source link

`cloud_check()` and minimal R versions #325

Open lionel- opened 2 years ago

lionel- commented 2 years ago

Currently cloud checks is using R 4.0.3. It seems it doesn't check the minimal R requirement and I get failures like this:

Error in parse(outFile) : 
  /tmp/workdir/text2map/old/text2map.Rcheck/00_pkg_src/text2map/R/utils-embedding.R:296:6: unexpected '>'
295:     omit_empty = TRUE
296:   ) |>
          ^
ERROR: unable to collate and parse R files for package ‘text2map’
* removing ‘/tmp/workdir/text2map/old/text2map.Rcheck/text2map’

It'd probably be better to not run the checks if the R version requirement is not met?