Skip to content

Commit

Permalink
fix typos, articles structure and order
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kotov committed Aug 28, 2024
1 parent 2ae2bbe commit 1ef6298
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,13 @@ reference:
- title: "Other commands"
contents:
- rje_consent



articles:
- title: Documentation
navbar: ~
contents:
- rJavaEnv-step-by-step
- multiple-java-with-targets-callr
- why-rJavaEnv
2 changes: 1 addition & 1 deletion vignettes/multiple-java-with-targets-callr.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pkgdown:
as_is: true
---

If you need to use multiple `Java` distribution versions in a single project, you can use a handy shortcut function `use_java()` kindly[suggested by Hadley Wickham](https://github.com/e-kotov/rJavaEnv/issues/44){target='_blank'}.
If you need to use multiple `Java` distribution versions in a single project, you can use a handy shortcut function `use_java()` kindly [suggested by Hadley Wickham](https://github.com/e-kotov/rJavaEnv/issues/44){target='_blank'}.

Essentialy, `use_java()` does the same thing as `java_quick_install()`, but in a less intrusive way. It downloads the distribution of the user requested major version of `Java`, unpacks it, also to the cache folder, but unlike `java_quick_install()`, it does not copy or link the `Java` installation folder from cache into the project directory and does not create or edit your `.Rprofile` file. Instead, it just sets the environment in the current R script to the requested `Java` binaries in the cache folder. The download and unpacking only happens once, so each next run is practically instant, as the function only needs to set the environment in the current R script.

Expand Down

0 comments on commit 1ef6298

Please sign in to comment.