Update R version
tidyfood
require R version > 4.1.
You can check your R version in your console:
version
## _
## platform x86_64-apple-darwin20
## arch x86_64
## os darwin20
## system x86_64, darwin20
## status
## major 4
## minor 3.0
## year 2023
## month 04
## day 21
## svn rev 84292
## language R
## version.string R version 4.3.0 (2023-04-21)
## nickname Already Tomorrow
If your R version is < 4.1, please download and install the latest version of R, and then restart your R.
Install tidyfood
Copy and paste the below code in your console.
source("https://www.tidyfood.org/tidyfood-packages/install_tidyfood.txt")
install_tidyfood(from = "tidyfood.org")