Skip to content

Commit

Permalink
updates to the knitr multiverse notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
abhsarma committed Sep 15, 2024
1 parent abfe81b commit 2db9d38
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ importFrom(styler,style_text)
importFrom(tibble,as_tibble)
importFrom(tibble,tibble)
importFrom(tidyr,nest)
importFrom(tidyr,pivot_wider)
importFrom(tidyr,unnest_longer)
importFrom(tidyr,unnest_wider)
importFrom(tidyselect,everything)
importFrom(tidyselect,starts_with)
Expand Down
3 changes: 2 additions & 1 deletion R/extract.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
#' extract_variables(x.mean, y)
#' }
#'
#' @importFrom tidyr unnest_wider
#' @importFrom tidyr unnest_longer
#' @importFrom tidyr pivot_wider
#' @importFrom rlang enquos
#' @importFrom rlang as_name
#'
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Alternately, users can insert a multiverse code block using a keyboard shortcut.

- Tools > Addins > Browse Addins… > Keyboard Shortcuts
- Next, in the filter input field, type *multiverse*. You will see one result with "Insert multiverse code chunk" as the name.
- Click on the Shortcut field and press Cmd+Shift+M (on Mac OS) or Ctrl+Shift+Alt+M (on Windows). Note that these are the recommended shortcuts, but you should feel free to use whatever you prefer.
- Click on the Shortcut field and press Cmd+Ctrl+M (on Mac OS) or Ctrl+Shift+Alt+M (on Windows). Note that these are the recommended shortcuts, but you should feel free to use whatever you prefer.
- Click "Apply" and exit the dialog box

Please refer to \\link{multiverse-in-rmd} for more details on using the multiverse code blocks with RMarkdown. The vignette also contains information on steps for debugging some of the common problems in assigning keyboard shortcuts.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ code block inside a RMarkdown document through the following steps:
- Tools \> Addins \> Browse Addins… \> Keyboard Shortcuts
- Next, in the filter input field, type *multiverse*. You will see one
result with “Insert multiverse code chunk” as the name.
- Click on the Shortcut field and press Cmd+Shift+M (on Mac OS) or
- Click on the Shortcut field and press Cmd+Ctrl+M (on Mac OS) or
Ctrl+Shift+Alt+M (on Windows). Note that these are the recommended
shortcuts, but you should feel free to use whatever you prefer.
- Click “Apply” and exit the dialog box
Expand Down
2 changes: 1 addition & 1 deletion vignettes/multiverse-in-rmd.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Alternately, users can insert a multiverse We also allow users to create a keybo

- Tools > AddIns > Browse AddIns… > Keyboard Shortcuts
- Next, in the filter input field, type *multiverse*. You will see one result with "Insert multiverse code chunk" as the name.
- Click on the Shortcut field and press Cmd+Shift+M (on Mac OS) or Ctrl+Shift+Alt+M (on Windows). Note that these are the recommended shortcuts, but you should feel free to use whatever you prefer.
- Click on the Shortcut field and press Cmd+Ctrl+M (on Mac OS) or Ctrl+Shift+Alt+M (on Windows). Note that these are the recommended shortcuts, but you should feel free to use whatever you prefer.
- Click "Apply" and exit the dialog box

If you are experiencing issues creating a keyboard shortcut for code blocks, or if you are experiencing a situation where the shortcut needs to be re-created everytime you open a new RStudio session, please refer to the `Debugging Keyboard Shortcuts` section at the end of this document.
Expand Down

0 comments on commit 2db9d38

Please sign in to comment.