is_project_script_file_recent: Compare elements and 1-st level structure of project script...

Description Usage Arguments Value Examples

View source: R/Simulation_Project.R

Description

Compare elements and 1-st level structure of project script file with installed rSFSW2-package version

Usage

1
2
3
4
5
is_project_script_file_recent(
  dir_prj,
  script = "SFSW2_project_descriptions.R",
  ...
)

Arguments

dir_prj

A character string. Path the simulation project folder.

script

A character string. Name of the script file to compare.

...

Passed to load_project_description to pre-fill new environment.

Value

A logical value.

Examples

1
2
3
4
5
6
## Not run: 
if (exists("SFSW2_prj_meta")) {
  is_project_script_file_recent(
    dir_prj = SFSW2_prj_meta[["project_paths"]][["dir_prj"]])
}
## End(Not run)

Burke-Lauenroth-Lab/rSFSW2 documentation built on Aug. 14, 2020, 5:20 p.m.