Skip to content

Commit

Permalink
Correct roxygen documentations
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinav Pandey <[email protected]>
  • Loading branch information
Sweetdevil144 committed Jul 25, 2024
1 parent 5208b02 commit f570646
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion base/db/R/get.machine.info.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Get machine information from db
#' @param host host information
#' @param dbfile.id dbfile id for existing records
#' @param input.args input args.r for existing records
#' @param input.id input id for existing records
#' @param con database connection
#'
Expand Down
4 changes: 2 additions & 2 deletions base/db/man/get.machine.info.Rd

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

15 changes: 7 additions & 8 deletions base/db/tests/testthat/test.check.missing.files.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ test_that("`check_missing_files()` able to return correct missing files", {
# This function returns a list as follows: return(list(result_sizes, outlist, existing.input, existing.dbfile))
# Perform checks to compare results from stubbed functions to actual results
expect_equal(nrow(res[[1]]), 1)
PEcAn.logger::logger.debug(res)
# expect_equal(res[[1]]$missing, FALSE)
# expect_equal(res[[1]]$empty, FALSE)
# expect_equal(res[[2]], "test")
# expect_equal(nrow(res[[3]][[1]]), 0)
# expect_equal(ncol(res[[3]][[1]]), 0)
# expect_equal(nrow(res[[4]][[1]]), 0)
# expect_equal(ncol(res[[4]][[1]]), 0)
expect_equal(res[[1]]$missing, FALSE)
expect_equal(res[[1]]$empty, FALSE)
expect_equal(res[[2]], "test")
expect_equal(nrow(res[[3]][[1]]), 0)
expect_equal(ncol(res[[3]][[1]]), 0)
expect_equal(nrow(res[[4]][[1]]), 0)
expect_equal(ncol(res[[4]][[1]]), 0)
})

0 comments on commit f570646

Please sign in to comment.