Skip to content

Commit

Permalink
Merge pull request #52 from pitmonticone/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Karandeep Singh authored Mar 18, 2023
2 parents 49ac4ea + bddc510 commit 7e64ff6
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ on:
types:
- created
workflow_dispatch:
inputs:
lookback:
default: 3
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
Expand All @@ -12,4 +28,6 @@ jobs:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
ssh: ${{ secrets.DOCUMENTER_KEY }}
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
2 changes: 1 addition & 1 deletion docs/examples/Contributors/Howto.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# follow the next steps:

# !!! warning "build docs locally"
# Install the following dependecies in your system via pip, i.e.
# Install the following dependencies in your system via pip, i.e.
# - `pip install mkdocs pygments python-markdown-math`
# - `pip install mkdocs-material pymdown-extensions mkdocstrings`
# - `pip mknotebooks pytkdocs_tweaks mkdocs_include_exclude_files jinja2 mkdocs-video`
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/UserGuide/dataset_movies.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using RDatasets

movies = dataset("ggplot2", "movies");

# To work with this dataset, we will use the `@chain` macro. This macro initiates a pipe, and every function or macro provided to it between the `begin` and `end` blocks modifies the dataframe mentioned at the beginning of the pipe. You don't have to necessarily spread a chain over multiple lines of code, but when working with data frames it's often easiest to do so. Before going futher, take a look at the [Chain.jl GitHub page](https://github.com/jkrumbiegel/Chain.jl) to see all the cool things that are possible with this, including mid-chain side effects using `@aside` and mid-chain assignment of variables.
# To work with this dataset, we will use the `@chain` macro. This macro initiates a pipe, and every function or macro provided to it between the `begin` and `end` blocks modifies the dataframe mentioned at the beginning of the pipe. You don't have to necessarily spread a chain over multiple lines of code, but when working with data frames it's often easiest to do so. Before going further, take a look at the [Chain.jl GitHub page](https://github.com/jkrumbiegel/Chain.jl) to see all the cool things that are possible with this, including mid-chain side effects using `@aside` and mid-chain assignment of variables.

# Let's take a look at the first 5 rows of the `movies` dataset using `@slice()`.

Expand Down
4 changes: 2 additions & 2 deletions docs/examples/UserGuide/interpolation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ end
@filter(a == !!myvar_string)
end

# ## Filetering rows works similarly using `in`.
# ## Filtering rows works similarly using `in`.

# Note that for `in` to work here, we have to wrap it in `[]` because otherwise, the string will be converted into a collection of characters, which are a different data type.

Expand Down Expand Up @@ -109,7 +109,7 @@ end

# ## Alternative interpolation syntax

# While interpolationg using `!!` is concise and handy, it's not required. You can also access user-defined globals and global constant variables using the following syntax:
# While interpolation using `!!` is concise and handy, it's not required. You can also access user-defined globals and global constant variables using the following syntax:

@chain df begin
@mutate(area = Main.pi * radius^2)
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/UserGuide/rename.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Renaming colummns follows the same syntax as in R's `tidyverse`, where the "tidy expression" is `new_name = old_name`. While the main function to rename columns is `@rename()`, you can also use `@select()` if you additionally plan to select only the renamed columns.
# Renaming columns follows the same syntax as in R's `tidyverse`, where the "tidy expression" is `new_name = old_name`. While the main function to rename columns is `@rename()`, you can also use `@select()` if you additionally plan to select only the renamed columns.

using Tidier
using RDatasets
Expand Down
2 changes: 1 addition & 1 deletion src/docstrings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const docstring_across =
"""
across(variable[s], function[s])
Apply functions to multiple variables. If specifiying multiple variables or functions, surround them with a parentheses so that they are recognized as a tuple.
Apply functions to multiple variables. If specifying multiple variables or functions, surround them with parentheses so that they are recognized as a tuple.
This function should only be called inside of Tidier.jl macros.
Expand Down

2 comments on commit 7e64ff6

@kdpsingh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/79827

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.6.0 -m "<description of version>" 7e64ff6bc1e61f9b8ad6bfb50afa9753bdf9cbf1
git push origin v0.6.0

Please sign in to comment.