Skip to content

Commit

Permalink
update spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
JanMarvin committed Jun 25, 2023
1 parent 5e90271 commit 933af56
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion R/class-workbook-wrappers.R
Original file line number Diff line number Diff line change
Expand Up @@ -3074,7 +3074,7 @@ wb_add_ignore_error <- function(
#' @param topLeftCell Cell: the cell shown in the top left corner / or top right with rightToLeft
#' @param view View: "normal", "pageBreakPreview" or "pageLayout"
#' @param windowProtection Logical: if TRUE the panes are protected
#' @param workbookViewId Interger: Pointing to some other view inside the workbook
#' @param workbookViewId integer: Pointing to some other view inside the workbook
#' @param zoomScale,zoomScaleNormal,zoomScalePageLayoutView,zoomScaleSheetLayoutView Integer: the zoom scale should be between 10 and 400. These are values for current, normal etc.
#' @examples
#' wb <- wb_workbook()$add_worksheet()
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ random_string <- function(n = 1, length = 16, pattern = "[A-Za-z0-9]", keep_seed
#' and column vector. Exported for user convenience.
#' @name dims_helper
#' @param x a dimension object "A1" or "A1:A1"
#' @param as_integer optional if the output should be returned as interger
#' @param as_integer optional if the output should be returned as integer
#' @examples
#' dims_to_rowcol("A1:J10")
#' @export
Expand Down
12 changes: 11 additions & 1 deletion inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ FFFFFF
Github
Gnumeric
GrossProfit
Interger
JIS
JOHAB
LastModifiedBy
Expand All @@ -35,6 +34,7 @@ STDEV
STDEVP
SalesPrice
SalesQuantity
Savon
Schauberger
Sparklines
SuperA
Expand All @@ -57,7 +57,14 @@ bool
calc
calcChain
calculatedColumn
cellStyle
cellStyleXf
cellStyles
cellStylesXf
cellWatches
cellstyle
cellstyleXf
cellstylexf
charset
chartShapes
chartsheet
Expand Down Expand Up @@ -100,6 +107,7 @@ databar
datatable
datetime
datetimes
de
defaultGridColor
defaultPivotStyle
defaultTableStyle
Expand Down Expand Up @@ -137,6 +145,7 @@ firstSheet
firstTotalCell
fitToHeight
fitToWidth
fmt
fontColor
fontName
fontSize
Expand Down Expand Up @@ -217,6 +226,7 @@ pivotRecords
pivotTables
posix
posixt
pre
printGridLines
printOptions
printTitleCols
Expand Down
2 changes: 1 addition & 1 deletion man/dims_helper.Rd

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

2 changes: 1 addition & 1 deletion man/wb_set_sheetview.Rd

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

4 changes: 2 additions & 2 deletions src/pugi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SEXP readXMLPtr(std::string path, bool isfile, bool escapes, bool declaration, b
}

if (!result) {
Rcpp::stop("xml import unsuccessfull");
Rcpp::stop("xml import unsuccessful");
}

XPtrXML ptr(doc, true);
Expand Down Expand Up @@ -56,7 +56,7 @@ SEXP readXML(std::string path, bool isfile, bool escapes, bool declaration, bool
}

if (!result) {
Rcpp::stop("xml import unsuccessfull");
Rcpp::stop("xml import unsuccessful");
}

std::ostringstream oss;
Expand Down
2 changes: 1 addition & 1 deletion src/strings_xml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SEXP xml_to_txt(Rcpp::CharacterVector vec, std::string type) {
pugi::xml_parse_result result = doc.load_string(tmp.c_str(), pugi::parse_default | pugi::parse_ws_pcdata | pugi::parse_escapes);

if (!result) {
Rcpp::stop(type.c_str(), " xml import unsuccessfull");
Rcpp::stop(type.c_str(), " xml import unsuccessful");
}

for (auto is : doc.children(type.c_str()))
Expand Down

0 comments on commit 933af56

Please sign in to comment.