forked from ycphs/openxlsx
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- Depending on how easily it could be implemented, it would be useful to set the currency type for the worksheets in some way (e.g. through an option() setting). This way columns with "accounting" or "currency" class could be customised to Euro instead of Dollars for example.
- (If included in the course) it would be useful to implement insertPlot() in a way that is takes plot objects as input and not the image from the device. Especially, because the current implementation does not work with our Rmd notebooks.
- addStyle() can be used to customise the body of a spreadsheet (e.g. set borders). However, the
colsandrowsdefinition for this step looks quite complicated. Since the first row contains the table header we need to select the body like this:One could implement some selector functions to customise a specific column/row or the entire body.addStyle(wb, "sheet1", style = style1, cols = 1:ncol(dataframe), rows = 2:(nrow(dataframe)+1), gridExpand = TRUE)
Further notes:
- I think the
options("openxlsx.numFmt" = ___)setting mentioned in the vignette does not affect anything. - While the vignette applies
class(df$Cash) <- "currency", some function documentations applyclass(df$Cash) <- c(class(df$Cash), "currency"). This could be made more consistent.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels