-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: location short forms for ph_with()
location
arg
- Simplified input format for `location` arg in `ph_with_*` functions (#623) Instead of a `location` object created by the `ph_location_*` function family, `ph_with_*` functions now resolves certain short form input into corresponding `location` objects. For example, instead of using `ph_location_label("<label>")` you can now simply pass the `"<label>"` to the `location` arg. The functionn will convert the string into the corresponding location object automatically. Other examples are `"body [1]"` for `ph_location_type(type = "body", type_idx = 1)`, or the integer `1` for `ph_location_id(id = 1)`. - export resolve_location() function. It might be helpful if other packages want to use it in their own wrappers.
- Loading branch information
1 parent
1660aec
commit 1d0bc2e
Showing
19 changed files
with
896 additions
and
392 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 |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
push: | ||
branches: [main, master] | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
name: test-coverage.yaml | ||
|
||
|
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,7 +1,7 @@ | ||
Type: Package | ||
Package: officer | ||
Title: Manipulation of Microsoft Word and PowerPoint Documents | ||
Version: 0.6.8.004 | ||
Version: 0.6.8.005 | ||
Authors@R: c( | ||
person("David", "Gohel", , "[email protected]", role = c("aut", "cre")), | ||
person("Stefan", "Moog", , "[email protected]", role = "aut"), | ||
|
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
Oops, something went wrong.