IniziaInizia gratis

Out of Date Packages

R packages are constantly updated. Updates contain new features and bug fixes. The old.packages() function returns a data frame, where each row indicates a newer version is available.

Questo esercizio fa parte del corso

Defensive R Programming

Visualizza il corso

Istruzioni dell'esercizio

  • Create a data frame of the packages where a newer version is available, and assign it to the object old.
  • How many packages need to be updated? Store this value to no_of_old_pkgs.

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Create a data frame of the packages where a newer version is available
old <- ___

# Find how many packages need to be updated
no_of_old_pkgs <- ___
Modifica ed esegui il codice