File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,3 +67,28 @@ The R package (May 4th `r fa`):
6767## Grading
6868
6969The 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).
You can’t perform that action at this time.
0 commit comments