use seq_along(a) in place of two calls in 1:length(a)
use seq_along() in place of seq_len(length())
use seq_along(foo) in place of two calls in 1:length(foo)
use seq_along(foo) in place of two calls in 1:length(foo)
remove the explicit return() call
 * Use seq_along() in place of 1:length()
 * Compute the sequence seq_along(w) *once* per branch in if else
 * Spread the for() over several lines and contained it within braces
 * use seq_along in place of 1:
 * should have used seq_len instead of seq_along
use seq_along(x) instead of 1:length(x)
remove explicit return()
typo fixed
use seq_along(x) instead of 1:length(x)
use seq_along(sol) in place of 1:length(sol)
switch seq_len(length(foo)) to seq_along(foo)
use seq_along(x) instead of 1:length(x)
use seq_along(x) instead of 1:length(x)
use seq_len(foo) instead of 1:foo
use seq_len and seq_along in place of :
fix a typo I caused
use seq_len and seq_along in place various forms of :