Skip to content

Commit

Permalink
More changes for CRAN.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaneplusplus committed Jan 9, 2024
1 parent 3064277 commit 7c09520
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 33 deletions.
3 changes: 2 additions & 1 deletion R/bigmemory.R
Original file line number Diff line number Diff line change
Expand Up @@ -1667,7 +1667,8 @@ setMethod('sub.big.matrix', signature(x='big.matrix'),
backingpath))
})

#' @rdname big.matrix.descriptor-class
#' @title Retrieve a big.matrix "view"
#' @rdname sub.big.matrix
#' @param x A descriptor object
#' @param firstRow the first row of the submatrix
#' @param lastRow the last row of the submatrix if not NULL
Expand Down
2 changes: 1 addition & 1 deletion man-roxygen/big.matrix.descriptor_class_template.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' \item{\code{description}:}{Object of class \code{"list"}; details omitted.}
#' }
#' @section Extends:
#' Class \code{"\linkS4class{descriptor}"}, directly.
#' Class \code{"descriptor"}, directly.
#' @section Methods:
#' \describe{
#' \item{attach.resource}{\code{signature(obj = "big.matrix.descriptor")}: ... }
Expand Down
24 changes: 1 addition & 23 deletions man/big.matrix.descriptor-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 16 additions & 6 deletions man/sub.big.matrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/bigmemory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ SEXP ReadMatrix(SEXP fileName, BigMatrix *pMat,
else
{
string ws = string("Incorrect number of entries in row ") + ttos(j);
Rf_warning(ws.c_str());
Rf_warning("%s", ws.c_str());
}
}
first = last+1;
Expand Down
2 changes: 1 addition & 1 deletion src/deepcopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ SEXP CDeepCopy(SEXP inAddr, SEXP outAddr, SEXP rowInds, SEXP colInds,
type_names[pOutMat->matrix_type()] + string("\n") +
string("Hint: To remove this warning type: ") +
string("options(bigmemory.typecast.warning=FALSE)");
Rf_warning(warnMsg.c_str());
Rf_warning("%s", warnMsg.c_str());
}

// Not sure if there is a better way to do these function calls
Expand Down

0 comments on commit 7c09520

Please sign in to comment.