Skip to content

Commit 46cf4c3

Browse files
Remove plyr usage from example
1 parent ac1503a commit 46cf4c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

inst/examples/knitr-themes.Rnw

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ applied to R code:
7676

7777
<<demo-code, eval = FALSE>>=
7878
library(XML)
79-
library(plyr)
8079
library(reshape)
8180
# SCRAPE THE DATA FROM WEB
8281
@@ -94,7 +93,7 @@ save_data = function(y){
9493
return(tab)
9594
}
9695
97-
team.list = llply(years, save_data);
96+
team.list = lapply(years, save_data);
9897
mls = merge_recurse(team.list);
9998
@
10099

0 commit comments

Comments
 (0)