Conversation
|
inst/notebooks/5-files/R/plan.R:8:17: style: Do not place spaces around code in parentheses or square brackets. model = target( # Name this target `progression` instead of `model`.
^inst/notebooks/5-files/R/plan.R:9:1: style: lines should not be more than 80 characters. train_model(data, rec), # Set `model_file = file_out("model.h5")` in the call to train_model().
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~inst/notebooks/5-files/R/plan.R:9:3: style: Use two spaces to indent, never tabs. train_model(data, rec), # Set `model_file = file_out("model.h5")` in the call to train_model().
^inst/notebooks/5-files/R/plan.R:10:1: style: lines should not be more than 80 characters. format = "keras" # The target value is no longer a model, so remove this line with the format.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~inst/notebooks/5-files/R/plan.R:10:3: style: Use two spaces to indent, never tabs. format = "keras" # The target value is no longer a model, so remove this line with the format.
^inst/notebooks/5-files/R/plan.R:10:16: style: Put spaces around all infix operators. format = "keras" # The target value is no longer a model, so remove this line with the format.
~^~inst/tutorials/learndrakeflow/R/plan.R:5:3: style: Use two spaces to indent, never tabs. train_model(data, rec),
^inst/tutorials/learndrakeflow/R/plan.R:6:3: style: Use two spaces to indent, never tabs. format = "keras"
^inst/tutorials/learndrakeflow/R/plan.R:6:16: style: Put spaces around all infix operators. format = "keras"
~^~ |
Codecov Report
@@ Coverage Diff @@
## master #14 +/- ##
=======================================
Coverage 61.53% 61.53%
=======================================
Files 3 3
Lines 26 26
=======================================
Hits 16 16
Misses 10 10Continue to review full report at Codecov.
|
Summary
Use
format = "keras"throughout the workshop for added convenience (and efficiency in production workflows). Related: ropensci/drake#977.Related GitHub issues and pull requests
Checklist
learndrake's code of conduct.