Skip to content

Commit

Permalink
Update 02-final.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon authored Nov 26, 2024
1 parent b6d18e6 commit 59d2575
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions exams/02-final.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,28 @@ The R package (May 4th `r fa`):
## Grading

The grade will be based on clear communication and coding.

# Misc

## Installing the package with the vignettes

You can install this package from the source using the following
commands from the command line:

``` bash
R CMD build .
R CMD INSTALL egpkg2024_1.0.tar.gz
```

The first command builds a tar.gz file that can be shared. This is what
you share when you submit to CRAN. The second command installs the
package in your computer. Notice that this approach builds the
vignettes, making them available to your R session. Recall you can
access vignettes using the `vignette` command like this:

``` r
vignette(package="dplyr")
```

Which will list the vignettes available to the dplyr R package (learn
more typing `?vignette` in your R console).

0 comments on commit 59d2575

Please sign in to comment.