if (FALSE) {
# check available packages
db <- available.packages()
# wait some time (suppose packages are uploaded / changed in this time)
Sys.sleep(5)
# refresh the local available packages database
# (the old locally cached db will be removed)
db <- renv::refresh()
}
Run the code above in your browser using DataLab