rexyai / RestRserve

R web API framework for building high-performance microservices and app backends
https://restrserve.org
275 stars 32 forks source link

Jit #152

Closed dselivanov closed 4 years ago

dselivanov commented 4 years ago

R/BackendRserve.R:86:9: style: Place a space before left parenthesis, except in a function call.

​      if(isTRUE(private$precompile)) {
        ^

R/Router.R:168:9: style: Place a space before left parenthesis, except in a function call.

​      if(identical(prefix, "")) {
        ^

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

​  if(verbose) message(sprintf("checking env %s", environmentName(env)))
    ^

R/utils.R:108:6: style: Place a space before left parenthesis, except in a function call.

​  for(obj_name in ls(envir = env)) {
     ^

R/utils.R:109:7: style: Place a space before left parenthesis, except in a function call.

​    if(verbose) message(sprintf("inspecting object '%s'", obj_name))
      ^

R/utils.R:111:7: style: Place a space before left parenthesis, except in a function call.

​    if(is.function(obj)) {
      ^

R/utils.R:115:9: style: Place a space before left parenthesis, except in a function call.

​      if(verbose) {
        ^

R/utils.R:116:11: style: Place a space before left parenthesis, except in a function call.

​        if(!inherits(status, "try-error")) {
          ^

R/utils.R:123:7: style: Place a space before left parenthesis, except in a function call.

​    if(is.environment(obj)) {
      ^

R/utils.R:126:9: style: Place a space before left parenthesis, except in a function call.

​      if(!already_compiled) {
        ^
codecov[bot] commented 4 years ago

Codecov Report

Merging #152 into dev will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #152   +/-   ##
=======================================
  Coverage   94.98%   94.98%           
=======================================
  Files          27       27           
  Lines        1275     1277    +2     
=======================================
+ Hits         1211     1213    +2     
  Misses         64       64           
Impacted Files Coverage Δ
R/utils.R 87.50% <ø> (ø)
R/BackendRserve.R 94.73% <100.00%> (+0.11%) :arrow_up:
R/Router.R 98.80% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c6966b7...702515a. Read the comment docs.