Closed HenrikBengtsson closed 8 years ago
Fixed. Most could be fixed using:
for ff in $(grep -l -F "seq(along=" R/*.R); do echo $ff; sed -i.bak s/seq\(along=/seq_along\(/g $ff; done
for ff in $(grep -l -F "seq(length=" R/*.R); do echo $ff; sed -i.bak s/seq\(length=/seq_len\(/g $ff; done
seq() -> seq_along() and seq_len()
seq(length=n)
but should beseq(length.out=n)
or these daysseq_len(n)
.seq(along=x)
but should beseq(along.with=x)
or these daysseq_along(x)
.seq()
calls to be updated (manually filtered):