Skip to content

Commit

Permalink
Fix implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Jul 18, 2023
1 parent 01da83e commit 0b8316e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/run.R
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ orderly_run <- function(name, parameters = NULL, envir = NULL,
envir <- envir %||% .GlobalEnv
assert_is(envir, "environment")

src <- file.path(root$path, "src", name)
dat <- orderly_read(src)

parameters <- check_parameters(parameters, dat$parameters,
Expand Down Expand Up @@ -419,7 +420,7 @@ orderly_packet_cleanup_failure <- function(p) {

validate_orderly_directory <- function(name, root) {
assert_scalar_character(name)
if (!file_exists(file.path(root$path, "src", name, "ordery.R"))) {
if (!file_exists(file.path(root$path, "src", name, "orderly.R"))) {
src <- file.path(root$path, "src", name)
err <- sprintf("Did not find orderly report '%s'", name)
if (file_exists(src)) {
Expand Down

0 comments on commit 0b8316e

Please sign in to comment.