Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minor typos #262

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/answerTests.R
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ runTest.expr_identical <- function(keyphrase, e){
return(results$passed)
}

# Test the the length of e$val is that given in the keyphrase
# Test the length of e$val is that given in the keyphrase
# keyphrase: "val_length=<integer>"
runTest.val_length <- function(keyphrase, e){
try(n <- as.integer(rightside(keyphrase)), silent=TRUE)
Expand Down
2 changes: 1 addition & 1 deletion R/answerTests2.R
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ expr_creates_var <- function(correctName=NULL){

#' Test that the value of the expression has a particular \code{length}.
#'
#' Test the the \code{\link{length}} of \code{e$val} is that given by the
#' Test the \code{\link{length}} of \code{e$val} is that given by the
#' first argument.
#' @param len expected length of the variable created by a user
#' @return \code{TRUE} or \code{FALSE}
Expand Down
2 changes: 1 addition & 1 deletion man/val_has_length.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ val_has_length(len)
\code{TRUE} or \code{FALSE}
}
\description{
Test the the \code{\link{length}} of \code{e$val} is that given by the
Test the \code{\link{length}} of \code{e$val} is that given by the
first argument.
}
\examples{
Expand Down