Contents
How large should a code review be?
Review fewer than 400 lines of code at a time In practice, a review of 200-400 LOC over 60 to 90 minutes should yield 70-90% defect discovery. So, if 10 defects existed in the code, a properly conducted review would find between seven and nine of them.
How do you reply to a reviewer comment?
Rule 7: Whenever possible, begin your response to each comment with a direct answer to the point being raised. You can provide background information, but you should do so after giving your primary response. Provide a “yes” or “no” answer whenever possible. When the reviewer is correct, state so in your response.
How do you respond to reviewer comments the calm way?
Your responses should be polite and objective, balancing the line between being concise and complete. There is no space for ego in your response. Start by thanking the reviewers for identifying the weaknesses in your paper and providing you the opportunity to strengthen your research prior to publication.
What do you mean by chunks in Markdown?
Text chunks in markdown syntax that describe your processing workflow or are the text for your report. Code chunks that process, visualize and/or analyze your data. Let’s break down code chunks in .Rmd files. Data Tip: You can add code output or an R object name to markdown segments of an RMD.
How do I run a chunk of code?
You can run code chunks: Line-by-line: With cursor on current line, Ctrl + Enter (Windows/Linux) or Command + Enter (Mac OS X). By chunk: You can run the entire chunk (or multiple chunks) by clicking on the Chunks dropdown button in the upper right corner of the script environment and choosing the appropriate option.
Where do I put the code chunk option in R?
Code chunk options are added on the first line of a code chunk after the name, within the curly brackets. The example below, is a code chunk that will not be “run”, or evaluated, by R.
When to eval code chunks in are Markdown?
You may want to show or document the code that you used to export that graphic in your html or pdf document, but you don’t need to actually export that file each time you create a revised html or pdf document. eval = FALSE: Do not eval uate (or run) this code chunk when knitting the RMD document.