Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Update breached_site.R #30

Closed
wants to merge 2 commits into from
Closed

Update breached_site.R #30

wants to merge 2 commits into from

Conversation

maelle
Copy link
Contributor

@maelle maelle commented Aug 23, 2018

No description provided.

@maelle maelle closed this Aug 23, 2018
@maelle maelle deleted the lintr-bot branch August 23, 2018 14:46
@lintr-bot
Copy link

R/breached_site.R:14:1: style: lines should not be more than 80 characters.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/breached_site.R:14:5: style: Place a space before left parenthesis, except in a function call.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
    ^

R/breached_site.R:14:19: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                 ~^~

R/breached_site.R:14:32: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                              ~^

R/breached_site.R:14:36: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                  ~^~

R/breached_site.R:14:52: style: Commas should always have a space after.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                   ^

R/breached_site.R:14:65: style: Opening curly braces should never go on their own line and should always be followed by a new line.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                                ^

R/breached_site.R:14:97: style: Closing curly-braces should always be on their own line, unless it's followed by an else.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                                                                ^

R/utils.R:11:13: warning: no visible global function definition for ‘get_and_retry’

output <- get_and_retry(URLS, headers, verbose)
            ^~~~~~~~~~~~~

R/utils.R:24:15: warning: no visible global function definition for ‘get_and_retry’

output <- get_and_retry(URLS, headers, verbose)
              ^~~~~~~~~~~~~

3 similar comments
@lintr-bot
Copy link

R/breached_site.R:14:1: style: lines should not be more than 80 characters.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/breached_site.R:14:5: style: Place a space before left parenthesis, except in a function call.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
    ^

R/breached_site.R:14:19: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                 ~^~

R/breached_site.R:14:32: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                              ~^

R/breached_site.R:14:36: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                  ~^~

R/breached_site.R:14:52: style: Commas should always have a space after.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                   ^

R/breached_site.R:14:65: style: Opening curly braces should never go on their own line and should always be followed by a new line.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                                ^

R/breached_site.R:14:97: style: Closing curly-braces should always be on their own line, unless it's followed by an else.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                                                                ^

R/utils.R:11:13: warning: no visible global function definition for ‘get_and_retry’

output <- get_and_retry(URLS, headers, verbose)
            ^~~~~~~~~~~~~

R/utils.R:24:15: warning: no visible global function definition for ‘get_and_retry’

output <- get_and_retry(URLS, headers, verbose)
              ^~~~~~~~~~~~~

@lintr-bot
Copy link

R/breached_site.R:14:1: style: lines should not be more than 80 characters.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/breached_site.R:14:5: style: Place a space before left parenthesis, except in a function call.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
    ^

R/breached_site.R:14:19: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                 ~^~

R/breached_site.R:14:32: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                              ~^

R/breached_site.R:14:36: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                  ~^~

R/breached_site.R:14:52: style: Commas should always have a space after.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                   ^

R/breached_site.R:14:65: style: Opening curly braces should never go on their own line and should always be followed by a new line.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                                ^

R/breached_site.R:14:97: style: Closing curly-braces should always be on their own line, unless it's followed by an else.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                                                                ^

R/utils.R:11:13: warning: no visible global function definition for ‘get_and_retry’

output <- get_and_retry(URLS, headers, verbose)
            ^~~~~~~~~~~~~

R/utils.R:24:15: warning: no visible global function definition for ‘get_and_retry’

output <- get_and_retry(URLS, headers, verbose)
              ^~~~~~~~~~~~~

@lintr-bot
Copy link

R/breached_site.R:14:1: style: lines should not be more than 80 characters.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

R/breached_site.R:14:5: style: Place a space before left parenthesis, except in a function call.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
    ^

R/breached_site.R:14:19: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                 ~^~

R/breached_site.R:14:32: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                              ~^

R/breached_site.R:14:36: style: Put spaces around all infix operators.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                  ~^~

R/breached_site.R:14:52: style: Commas should always have a space after.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                   ^

R/breached_site.R:14:65: style: Opening curly braces should never go on their own line and should always be followed by a new line.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                                ^

R/breached_site.R:14:97: style: Closing curly-braces should always be on their own line, unless it's followed by an else.

if(is.null(name)|length(name)!= 1|!inherits(name,"character")){stop("Problematic breach name")}
                                                                                                ^

R/utils.R:11:13: warning: no visible global function definition for ‘get_and_retry’

output <- get_and_retry(URLS, headers, verbose)
            ^~~~~~~~~~~~~

R/utils.R:24:15: warning: no visible global function definition for ‘get_and_retry’

output <- get_and_retry(URLS, headers, verbose)
              ^~~~~~~~~~~~~

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants