Skip to content

Commit 59d2575

Browse files
authored
Update 02-final.qmd
1 parent b6d18e6 commit 59d2575

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

exams/02-final.qmd

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,28 @@ The R package (May 4th `r fa`):
6767
## Grading
6868

6969
The grade will be based on clear communication and coding.
70+
71+
# Misc
72+
73+
## Installing the package with the vignettes
74+
75+
You can install this package from the source using the following
76+
commands from the command line:
77+
78+
``` bash
79+
R CMD build .
80+
R CMD INSTALL egpkg2024_1.0.tar.gz
81+
```
82+
83+
The first command builds a tar.gz file that can be shared. This is what
84+
you share when you submit to CRAN. The second command installs the
85+
package in your computer. Notice that this approach builds the
86+
vignettes, making them available to your R session. Recall you can
87+
access vignettes using the `vignette` command like this:
88+
89+
``` r
90+
vignette(package="dplyr")
91+
```
92+
93+
Which will list the vignettes available to the dplyr R package (learn
94+
more typing `?vignette` in your R console).

0 commit comments

Comments
 (0)