Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
kingaa committed Sep 3, 2023
1 parent 31d4af6 commit 828cc9b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/run-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
update.packages(lib.loc=Sys.getenv("R_LIBS_USER"))
if (length(find.package("ggplot2",quiet=TRUE)) < 1) install.packages("ggplot2")
if (length(find.package("dplyr",quiet=TRUE)) < 1) install.packages("dplyr")
if (length(find.package("plyr",quiet=TRUE)) < 1) install.packages("plyr")
if (length(find.package("reshape2",quiet=TRUE)) < 1) install.packages("reshape2")
if (length(find.package("tidyr",quiet=TRUE)) < 1) install.packages("tidyr")
cat("running tutorial codes....")
source("tutorial.R",echo=TRUE)
Expand Down
2 changes: 1 addition & 1 deletion tutorial.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ coef(fit)

## install.packages("ggplot2")

## install.packages(c("plyr","reshape2"))
## install.packages(c("dplyr","tidyr","lubridate"))

## install.packages("ggplot2",repos=NULL)

Expand Down
2 changes: 1 addition & 1 deletion tutorial.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ install.packages("ggplot2")
This installs the **ggplot2** package.
You can install more than one package at a time:
```{r eval=FALSE}
install.packages(c("plyr","reshape2"))
install.packages(c("dplyr","tidyr","lubridate"))
```
If the machine on which you use **R** is not connected to the Internet, you can download the packages to some other medium (such as a flash drive or CD)
and install them later, using `Install from local zip file` in the menu (&#9420;) or
Expand Down
Loading

0 comments on commit 828cc9b

Please sign in to comment.