Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite2b0d2c

Browse files
committed
northcentral
1 parent4f13356 commite2b0d2c

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

‎NEWS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#soilReports 0.9
2-
* All reports have been moved to folders based on "new" combined region names. "region2" becomes "southwest", "region11" becomes "northeast". These conversions are built in to the report listing and initialization functions for backward compatibility.
2+
* All reports have been moved to folders based on "new" combined region names. "region2" becomes "southwest", "region11" becomes "northcentral". These conversions are built in to the report listing and initialization functions for backward compatibility.
33

44
#soilReports 0.8
55

‎R/utils.R‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ prettySummary <- function(x, p = c(0, 0.25, 0.5, 0.75, 1), n = TRUE, signif = TR
7373
.convert_region<-function(x) {
7474
if (grepl("^region[0-9]+.*$",x)) {
7575
lut<- c(region2="southwest",
76-
region11="northeast")
76+
region11="northcentral")
7777
old<- gsub("^(region[0-9])+.*$","\\1",x)
7878
new<- gsub(paste0("^",old),lut[old],x)
7979
message("Replacing",x," with",new)
@@ -83,4 +83,4 @@ prettySummary <- function(x, p = c(0, 0.25, 0.5, 0.75, 1), n = TRUE, signif = TR
8383
stop("Could not find report:",x,call.=FALSE)
8484
}
8585
x
86-
}
86+
}

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ remotes::install_github("ncss-tech/soilReports", dependencies = FALSE, upgrade_d
6161
+[Shiny Pedon Summary](https://github.com/ncss-tech/soilReports/tree/master/inst/reports/southwest/shiny-pedon-summary)
6262

6363
* Region 11
64-
+[Component Summary by Project](https://github.com/ncss-tech/soilReports/tree/master/inst/reports/northeast/component_summary_by_project)
65-
+[MUPOLYGON Summary by Project](https://github.com/ncss-tech/soilReports/tree/master/inst/reports/northeast/mupolygon_summary_by_project)
64+
+[Component Summary by Project](https://github.com/ncss-tech/soilReports/tree/master/inst/reports/northcentral/component_summary_by_project)
65+
+[MUPOLYGON Summary by Project](https://github.com/ncss-tech/soilReports/tree/master/inst/reports/northcentral/mupolygon_summary_by_project)
6666

6767

6868
##Example Output

‎inst/reports/northeast/component_summary_by_project/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ library(rmarkdown)
1212
# run the report manually
1313
## copy to your workspace2 folder
1414

15-
copyReport(reportName="northeast/component_summary_by_project",outputDir="C:/workspace2/component_summary")
15+
copyReport(reportName="northcentral/component_summary_by_project",outputDir="C:/workspace2/component_summary")
1616

1717
## open the "report.Rmd" file from "C:/workspace2/component_summary" in RStudio, and hit the "Knit HTML" button
1818

1919

2020
## run the report via commandline
2121
reports= listReports()
22-
reports= subset(reports,name=="northeast/component_summary_by_project")
22+
reports= subset(reports,name=="northcentral/component_summary_by_project")
2323
render(input=reports$file.path,
2424
output_dir="C:/workspace2",
2525
output_file="C:/workspace2/comp_summary.html",

‎inst/reports/northeast/lab_summary_by_taxonname/report.Rmd‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ output:
1212
smooth_scroll:no
1313
params:
1414
series:!r as.character("Miami")
15-
genhz_rules:!r as.character(file.path(system.file(package = "soilReports"), "reports/northeast/lab_summary_by_taxonname/genhz_rules/Generic_rules.R"))
15+
genhz_rules:!r as.character(file.path(system.file(package = "soilReports"), "reports/northcentral/lab_summary_by_taxonname/genhz_rules/Generic_rules.R"))
1616
editor_options:
1717
chunk_output_type:console
1818
---

‎inst/reports/northeast/mupolygon_summary_by_project/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ library(rmarkdown)
4545
# run the report manually
4646
## copy to your workspace2 folder
4747

48-
copyReport(reportName="northeast/mupolygon_summary_by_project",outputDir="C:/workspace2/mupolygon_summary")
48+
copyReport(reportName="northcentral/mupolygon_summary_by_project",outputDir="C:/workspace2/mupolygon_summary")
4949

5050
## Open the "report.Rmd" file from "C:/workspace2/mupolygon_summary" in RStudio, and hit the "Knit HTML" drop down arrow and select "Knit with Paramters..." menu item. Modify the parameters accordingly.
5151

5252

5353
## run the report via commandline
5454
reports= listReports()
55-
reports= subset(reports,name=="northeast/mupolygon_summary_by_project")
55+
reports= subset(reports,name=="northcentral/mupolygon_summary_by_project")
5656
render(input="C:/workspace2/mupolygon_summary/report.Rmd",
5757
output_dir="C:/workspace2",
5858
output_file="C:/workspace2/mupolygon_summary.html",

‎inst/reports/northeast/pedon_summary_by_taxonname/report.Rmd‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ output:
1111
smooth_scroll:no
1212
params:
1313
series:!r as.character("Miami")
14-
genhz_rules:!r as.character(file.path(system.file(package = "soilReports"), "reports/northeast/pedon_summary_by_taxonname/genhz_rules/Generic_rules.R"))
14+
genhz_rules:!r as.character(file.path(system.file(package = "soilReports"), "reports/northcentral/pedon_summary_by_taxonname/genhz_rules/Generic_rules.R"))
1515
---
1616

1717
```{r setup, echo=FALSE, warning=FALSE}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp