mkearney / pkgverse

📦🔭🌠 Create your own universe of packages à la tidyverse
https://pkgverse.mikewk.com
Creative Commons Zero v1.0 Universal
121 stars 8 forks source link

Error in tempdir(check = TRUE) : unused argument (check = TRUE) #3

Closed kkougiou closed 6 years ago

kkougiou commented 6 years ago

This error keeps popping up, even when running the example provided in the README file

aimeegott commented 6 years ago

I had the same issue, seems there has been a change to the function at R 3.5.0 and there is now a check argument that wasn't there before

mkearney commented 6 years ago

thanks, @aimeegott, I was actually rather clueless on this!

mkearney commented 6 years ago

check = TRUE is now conditional on having at least R version 3.5.0: https://github.com/mkearney/pkgverse/blob/d0472b4b6c123af19576912cdbc01deeb8a3f766/R/pkgverse.R#L96