Skip to content

Commit

Permalink
adjust some doc links for CRAN checks
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEdmondson1234 committed Jun 24, 2020
1 parent 6e2dabf commit 1317e2b
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 34 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ S3method(print,ga_custom_data_source_upload)
S3method(print,ga_custom_datasource)
S3method(print,ga_model)
S3method(print,ga_model_result)
export("%>%")
export(authDropdown)
export(authDropdownUI)
export(dim_filter)
Expand Down Expand Up @@ -159,4 +158,5 @@ importFrom(tidyr,unnest)
importFrom(tidyr,unnest_longer)
importFrom(tidyr,unnest_wider)
importFrom(tools,file_ext)
importFrom(utils,menu)
importFrom(utils,write.csv)
5 changes: 2 additions & 3 deletions R/ga_v4_get.R
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,8 @@ make_ga_4_req <- function(viewId,
#' By default local caching is turned on for v4 API requests. This means that
#' making the same request as one this session will read from memory and not
#' make an API call. You can also set the cache to disk via
#' the \link[googleAuthR]{gar_cache_setup} function. This can be useful
#' when running RMarkdown reports using data. To empty the cache use
#' \link[googleAuthR]{gar_cache_empty}.
#' the \link{ga_cache_call} function. This can be useful
#' when running RMarkdown reports using data.
#'
#' @inheritParams make_ga_4_req
#' @param max Maximum number of rows to fetch. Defaults at 1000. Use -1 to fetch all results. Ignored when \code{anti_sample=TRUE}.
Expand Down
2 changes: 1 addition & 1 deletion R/models.R
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ eval_input_list <- function(dots){

#' Upload an interactive visualisation so it can be embedded in a tweet
#'
#' Inspired by \url{https://datatitian.com/how-to-turn-your-ggplot2-visualization-into-an-interactive-tweet/} this uploads your model output into Google Cloud storage, in the right format to embed in a tweet
#' Inspired by \code{https://datatitian.com/how-to-turn-your-ggplot2-visualization-into-an-interactive-tweet/} this uploads your model output into Google Cloud storage, in the right format to embed in a tweet
#'
#' @param model_output A \code{ga_model_result} object created by \link{ga_model}
#' @param twitter Your twitter handle e.g. \code{@holomarked}
Expand Down
4 changes: 3 additions & 1 deletion R/setup_service.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ ga_auth_setup <- function(){
return(invisible(""))
}

#' @noRd
#' @importFrom utils menu
add_service_email <- function(){

which_email <- utils::menu(title = "Which email do you want to add permissions for?",
which_email <- menu(title = "Which email do you want to add permissions for?",
choices = c("The service email from GA_AUTH_FILE",
"Another email"))
if(which_email == 0){
Expand Down
2 changes: 1 addition & 1 deletion R/users.R
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ ga_users_add <- function(email,
#'
#' @param linkId The linkId to update
#' @inheritParams ga_users_list
#' @param update_object A list that will be turned into JSON via \link[jsonlite]{toJSON} that represents the new configuration for this linkId
#' @param update_object A list that will be turned into JSON that represents the new configuration for this linkId
#'
#'
#' @return The new user object that has been altered.
Expand Down
6 changes: 0 additions & 6 deletions R/utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,6 @@ expect_null_or_s3_class <- function(thing, s3class){
}
}


#' @importFrom magrittr %>%
#' @export
#' @keywords internal
magrittr::`%>%`

#' A helper function that tests whether an object is either NULL _or_
#' a list of NULLs
#'
Expand Down
2 changes: 1 addition & 1 deletion man/ga_model_tweet.Rd

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

2 changes: 1 addition & 1 deletion man/ga_users_update.Rd

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

5 changes: 2 additions & 3 deletions man/google_analytics.Rd

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

16 changes: 0 additions & 16 deletions man/reexports.Rd

This file was deleted.

0 comments on commit 1317e2b

Please sign in to comment.