-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #615 from Appsilon/release-1.10.0
Release 1.10.0
- Loading branch information
Showing
4 changed files
with
66 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: rhino | ||
Title: A Framework for Enterprise Shiny Applications | ||
Version: 1.9.0.9002 | ||
Version: 1.10.0 | ||
Authors@R: | ||
c( | ||
person("Kamil", "Żyła", role = c("aut", "cre"), email = "[email protected]"), | ||
|
@@ -24,7 +24,7 @@ Depends: | |
R (>= 2.10) | ||
Imports: | ||
box (>= 1.1.3), | ||
box.linters (>= 0.10.4), | ||
box.linters (>= 0.10.5), | ||
box.lsp, | ||
cli, | ||
config, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
title: "How-to: Rhino 1.10 Migration Guide" | ||
output: rmarkdown::html_vignette | ||
vignette: > | ||
%\VignetteIndexEntry{How-to: Rhino 1.10 Migration Guide} | ||
%\VignetteEngine{knitr::rmarkdown} | ||
%\VignetteEncoding{UTF-8} | ||
--- | ||
|
||
Follow the steps outlined in this guide to migrate your project to Rhino 1.10. | ||
Before starting, ensure your Git working tree is clean, or back up your project if not using Git. | ||
|
||
This guide assumes you are migrating from Rhino 1.9. | ||
If you are currently using an older version of Rhino, | ||
please review the older migration guides first: | ||
|
||
* [Rhino 1.6 Migration Guide](https://appsilon.github.io/rhino/articles/how-to/migrate-1-6.html). | ||
* [Rhino 1.7 Migration Guide](https://appsilon.github.io/rhino/articles/how-to/migrate-1-7.html). | ||
* [Rhino 1.8 Migration Guide](https://appsilon.github.io/rhino/articles/how-to/migrate-1-8.html). | ||
* [Rhino 1.9 Migration Guide](https://appsilon.github.io/rhino/articles/how-to/migrate-1-9.html). | ||
|
||
# Step 1: Install Rhino 1.10 | ||
|
||
Use the following command to install Rhino 1.10 and update your `renv.lock` file: | ||
|
||
```r | ||
rhino::pkg_install("[email protected]") | ||
``` | ||
|
||
After the installation, restart your R session to ensure all changes take effect. | ||
|
||
# Step 2: Update your .Rprofile | ||
|
||
Update your `.Rprofile` with `languageserver` parsers for `box::use`, by running: | ||
|
||
```r | ||
box.lsp::use_box_lsp() | ||
``` | ||
|
||
Restart your R session so changes can take effect | ||
|
||
Follow ["How-to: Auto-complete in VSCode" guide]() to enable auto-complete in VSCode or Vim. | ||
|
||
# Step 3 (optional, requires R >= 4.3): Install `treesitter` and `treesitter.r` | ||
|
||
To enable automated styling of `box::use` statements and `box.linters::namespace_function_calls()` linter, | ||
install `treesitter` and `treesitter.r`: | ||
|
||
```r | ||
rhino::pkg_install(c("treesitter", "treesitter.r")) | ||
``` | ||
|
||
# Step 4: Test your project | ||
|
||
Test your project thoroughly to ensure everything works properly after the migration. | ||
If you encounter any issues or have further questions, | ||
don't hesitate to reach out to us via | ||
[GitHub Discussions](https://github.com/Appsilon/rhino/discussions). |