Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
byzheng committed Jan 28, 2024
1 parent 53a8612 commit 814e921
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: rapsimng
Type: Package
Title: APSIM Next Generation
Version: 0.4.2
Version: 0.4.3
Authors@R: person("Bangyou", "Zheng",
email = "bangyou.zheng@csiro.au",
role = c("aut", "cre"))
Expand Down
4 changes: 4 additions & 0 deletions R/report.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
#' @export
#'
#' @examples
#' \dontrun{
#' file <- system.file("extdata/wheat.apsimx", package = "rapsimng")
#' list_report(file)
#' }
list_report <- function(file) {
if (length(file) != 1) {
stop("only support single file")
Expand Down Expand Up @@ -40,8 +42,10 @@ list_report <- function(file) {
#' @export
#'
#' @examples
#' \dontrun{
#' file <- system.file("extdata/wheat.apsimx", package = "rapsimng")
#' read_report(file, "HarvestReport")
#' }
read_report <- function(file, report) {
if (length(file) != 1) {
stop("only support single file")
Expand Down
2 changes: 2 additions & 0 deletions man/list_report.Rd

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

2 changes: 2 additions & 0 deletions man/read_report.Rd

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

0 comments on commit 814e921

Please sign in to comment.