Skip to content

Commit

Permalink
fix: missing @export tags in functions
Browse files Browse the repository at this point in the history
  • Loading branch information
tin900 committed Jan 9, 2024
1 parent a18d69a commit 9f83556
Show file tree
Hide file tree
Showing 39 changed files with 148 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ export(add_user_to_group)
export(add_user_to_site)
export(adjust_tableau_font_style)
export(adjust_tableau_size)
export(authenticate_PAT)
export(authenticate_server)
export(check_dashboard_names)
export(create_group)
export(delete_group)
export(download_filtered_tableau_image)
export(download_tableau_crosstab_excel)
export(download_tableau_data)
Expand Down Expand Up @@ -38,13 +40,15 @@ export(get_server_views)
export(get_server_workbooks)
export(get_table_assets)
export(get_tableau_data_source)
export(get_users_in_group)
export(get_variable_folders)
export(get_variables)
export(get_workbook_id)
export(get_workbook_tabs)
export(make_rootnodes)
export(query_user_on_site)
export(remove_user_from_group)
export(remove_user_from_site)
export(update_group)
export(update_user)
importFrom(magrittr,"%>%")
2 changes: 2 additions & 0 deletions R/authenticate_PAT.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#' @param base_url The base URL of the Tableau server or Tableau cloud. For Tableau Server, this is usually the URL of the Tableau server. For Tableau Cloud, this is usually the URL of the Tableau cloud, and it must contain the pod name, such as 10az, 10ay, or us-east-1. For example, the base URL to sign in to a site in the 10ay pod would be: https://10ay.online.tableau.com.
#' @param api_version the api version to use. Default is 3.4
#' @return A list containing the base URL, the access token, the site ID, and the user ID.
#' @export
#' @family Tableau REST API
authenticate_PAT <- function(pat_name, pat_secret, content_url, base_url, api_version = 3.4) {
constructXML <- function(pat_name, pat_secret, content_url) {
credentials <- paste0(
Expand Down
2 changes: 2 additions & 0 deletions R/delete_group.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#' @param tableau A list containing the Tableau authentication variables: `base_url`, `token`, `user_id`, and `site_id`.
#' @param group_id The ID of the group to delete.
#' @param api_version The API version to use (default: 3.19).
#' @export
#' @family Tableau REST API
delete_group <- function(tableau, group_id, api_version = 3.19) {
base_url <- tableau$base_url
site_id <- tableau$site_id
Expand Down
1 change: 1 addition & 0 deletions R/get_users_in_group.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#' @param page_number The offset for paging. The default is 1.
#'
#' @return A list of users in the specified group.
#' @export
#'
#' @family Tableau REST API
get_users_in_group <- function(tableau, api_version = 3.19, group_id, page_size = 100, page_number = 1) {
Expand Down
1 change: 1 addition & 0 deletions R/remove_user_from_site.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#' @param mapAssetsTo Optional. The ID of a user that receives ownership of contents of the user being removed.
#'
#' @return No return value.
#' @export
#'
#' @family Tableau REST API
remove_user_from_site <- function(tableau, api_version = 3.19, user_id, mapAssetsTo = NULL) {
Expand Down
2 changes: 2 additions & 0 deletions man/add_tags_to_view.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/add_tags_to_workbook.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/add_user_to_group.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/add_user_to_site.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions man/authenticate_PAT.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/authenticate_server.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/create_group.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions man/delete_group.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/download_filtered_tableau_image.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/download_tableau_crosstab_excel.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/download_tableau_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/download_workbooks_server.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/download_workbooks_server_pdf.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/download_workbooks_server_powerpoint.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_groups_for_user.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_server_connected_apps.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_server_datasources.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_server_groups.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_server_info.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_server_jobs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_server_projects.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_server_refresh_tasks.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_server_schedules.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_server_user_favorites.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions man/get_server_users.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9f83556

Please sign in to comment.