Skip to content

Commit bda4cbc

Browse files
update broken links for CRAN (thanks winbuilder)
1 parent f7740c1 commit bda4cbc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ articles:
55
intro_htmlwidgets: intro_htmlwidgets.html
66
intro_inputs: intro_inputs.html
77
intro_reactR: intro_reactR.html
8-
last_built: 2023-10-02T02:32Z
8+
last_built: 2023-10-11T02:37Z
99

vignettes/intro_htmlwidgets.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ system("yarn run webpack")
6666

6767
* `yarn install` downloads all of the dependencies listed in `package.json` and creates a new file, `yarn.lock`. You should add this file to revision control. It will be updated whenever you change dependencies and run `yarn install`. **Note: you only need to run it after modifying package.json**. For further documentation on `yarn install`, see the [yarn documentation](https://classic.yarnpkg.com/en/docs/cli/install/).
6868

69-
* `yarn run webpack` compiles the [ES2015](https://babeljs.io/docs/en/learn/) JavaScript source file at `srcjs/sparklines.js` into `inst/htmlwidgets/sparklines.js`. The later file is one actually used by the R package and includes all the relevant JavaScript dependencies in a version of JavaScript that most browsers understand. Note that, if you add `--mode=development` to the end of this command, it will include a [source map](https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map) is included with the compiled JavaScript, which makes JavaScript debugging much easier, but hopefully you won't need to do much of any JavaScript debugging.
69+
* `yarn run webpack` compiles the [ES2015](https://babeljs.io/docs/en/learn/) JavaScript source file at `srcjs/sparklines.js` into `inst/htmlwidgets/sparklines.js`. The later file is one actually used by the R package and includes all the relevant JavaScript dependencies in a version of JavaScript that most browsers understand. Note that, if you add `--mode=development` to the end of this command, it will include a [source map](https://firefox-source-docs.mozilla.org/devtools-user/debugger/how_to/use_a_source_map/index.html) is included with the compiled JavaScript, which makes JavaScript debugging much easier, but hopefully you won't need to do much of any JavaScript debugging.
7070

7171
`yarn run webpack` is not strictly a `yarn` command. In fact, `yarn run` simply delegates to the [webpack](https://webpack.js.org/) program. Webpack's configuration is generated by `scaffoldReactWidget` in the file `webpack.config.js`, but you can always change this configuration and/or modify the `yarn run webpack` command to suit your needs.
7272

vignettes/intro_inputs.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ vignette: >
1414
knitr::opts_chunk$set(eval = FALSE)
1515
```
1616

17-
[Shiny](https://shiny.rstudio.com/) comes with a large library of input
18-
[widgets](https://shiny.rstudio.com/gallery/widget-gallery.html) for collecting
17+
[Shiny](https://shiny.posit.co/) comes with a large library of input
18+
[widgets](https://shiny.posit.co/r/gallery/widgets/widget-gallery/) for collecting
1919
input from the user and conveying input data to R.
2020

2121
If you want a kind of input *not* provided by Shiny — like a color picker,
@@ -85,7 +85,7 @@ withr::with_dir(
8585
### Building the JavaScript
8686

8787
The next step is to navigate to the newly-created `colorpicker` project and run
88-
the following commands in the terminal. If you're new the terminal, we recommend opening your newly created RStudio `~/colorpicker/colorpicker.Rproj` project file, then running the following in the [RStudio terminal tab](https://support.rstudio.com/hc/en-us/articles/115010737148-Using-the-RStudio-Terminal):
88+
the following commands in the terminal. If you're new the terminal, we recommend opening your newly created RStudio `~/colorpicker/colorpicker.Rproj` project file, then running the following in the [RStudio terminal tab](https://support.posit.co/hc/en-us/articles/115010737148-Using-the-RStudio-Terminal):
8989

9090
```
9191
yarn install

0 commit comments

Comments
 (0)