Skip to content

Commit

Permalink
donttest replaced by dontrun: checks are failing with github actions !
Browse files Browse the repository at this point in the history
  • Loading branch information
plecharpent committed Jul 5, 2023
1 parent 19e363c commit f750e4f
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 18 deletions.
4 changes: 2 additions & 2 deletions R/force_param_values.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
#' @return A logical status TRUE if successful, FALSE otherwise
#'
#' @examples
#' \donttest{
#' \dontrun{
#' example_txt_dir <- get_examples_path(file_type = "txt")
#' force_param_values(example_txt_dir,
#' setNames(object = c(220, 330), c("stlevamf", "stamflax")),
#' javastics = tempdir()
#' javastics = "/path/to/javastics"
#' )
#' }
#'
Expand Down
4 changes: 1 addition & 3 deletions R/gen_usms_xml2txt.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#' have been successfully copied in usms directories
#'
#' @examples
#' \donttest{
#' \dontrun{
#' javastics <- "/path/to/JavaSTICS/folder"
#' workspace <- "/path/to/workspace"
#'
Expand All @@ -56,8 +56,6 @@
#' usm <- c("usm1", "usm2")
#' gen_usms_xml2txt(javastics, workspace, usm)
#'
#' # For one usm
#' gen_usms_xml2txt(javastics, workspace, dir_per_usm_flag = FALSE, "usm1")
#' }
#'
#' @export
Expand Down
2 changes: 1 addition & 1 deletion R/get_obs.R
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
#' # Get observations only for banana:
#' Meas_banana <- get_obs(path, "banana")
#'
#' \donttest{
#' \dontrun{
#' # Get observations with real plant names when plant
#' # folder is not in the workspace:
#' get_obs(path, "banana", javastics = "/path/to/JavaSTICS/folder")
Expand Down
2 changes: 1 addition & 1 deletion R/get_param_info.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#' @export
#'
#' @examples
#' \donttest{
#' \dontrun{
#' get_param_info(param = "albedo")

#' get_param_info(param = "albedo", file = "/path/to/file.xml")
Expand Down
2 changes: 1 addition & 1 deletion R/get_usms_files.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#' and `get_usms_list()` to get the list of usms.
#'
#' @examples
#' \donttest{
#' \dontrun{
#'
#' get_usms_files(
#' workspace = "/path/to/workspace",
Expand Down
2 changes: 1 addition & 1 deletion R/upgrade_workspace_xml.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#' - Weather data and observations files are fully copied to `out_dir`
#'
#' @examples
#' \donttest{
#' \dontrun{
#' upgrade_workspace_xml(
#' workspace = "/path/to/JavaSTICS/workspace",
#' javastics = "/path/to/JavaSTICS/folder",
Expand Down
4 changes: 2 additions & 2 deletions man/force_param_values.Rd

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

4 changes: 1 addition & 3 deletions man/gen_usms_xml2txt.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/get_obs.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/get_param_info.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/get_usms_files.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/upgrade_workspace_xml.Rd

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

0 comments on commit f750e4f

Please sign in to comment.