Skip to content

Commit 56763e4

Browse files
committed
remove 3.6.1 alignment case
1 parent a1fef69 commit 56763e4

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

version-stable-r-development.Rmd

-34
Original file line numberDiff line numberDiff line change
@@ -207,40 +207,6 @@ tinytex::tlmgr_install("pdfcrop")
207207
(see [R Markdown: The Definitive
208208
Guide](https://bookdown.org/yihui/rmarkdown/pdf-document.html#figure-options-1))
209209

210-
#### Align TinyTeX to current remote repo
211-
212-
**NOTE** - This should never be needed with recent `rocker/verse` images, where
213-
a version-stable Tex Live repository is used for the TinyTeX install (see
214-
[rocker-org/rocker-versioned#169](https://github.com/rocker-org/rocker-versioned/issues/169)).
215-
216-
If you are using LaTeX and start seeing errors like
217-
```
218-
Remote repository is newer than local (2018 < 2019)
219-
```
220-
you have to re-install TinyTeX. This happens e.g. with
221-
`rocker/verse:3.6.1`, since it was build at the end of 2018 but the current
222-
Tex Live repo is 2019. You can fix this via a **user-specific** re-installation of
223-
TinyTeX for R. **NOTE** however that this will uninstall the system-level
224-
TinyTeX pre-installed in `rocker/verse`.
225-
226-
First, make sure `/home/rstudio/bin` is part of the `PATH` environment variable.
227-
Check this by running
228-
```{bash check-path}
229-
docker exec --user rstudio rstudio_3.6.1 R --slave -e 'Sys.getenv("PATH")'
230-
```
231-
If you don't see `/home/rstudio/bin`, you can make sure it is part of the `PATH` for R via
232-
```{bash set-path}
233-
docker exec --user rstudio rstudio_3.6.1 sh -c 'echo "PATH=$HOME/bin:\${PATH}" >> $HOME/.Renviron'
234-
# check again
235-
docker exec --user rstudio rstudio_3.6.1 R --slave -e 'Sys.getenv("PATH")'
236-
```
237-
238-
Then, from the running RStudio, run
239-
```{r reinstall-tinytex}
240-
tinytex::reinstall_tinytex()
241-
```
242-
243-
244210
### Cleanup
245211

246212
```{bash cleanup}

0 commit comments

Comments
 (0)