Skip to content

Commit b6946af

Browse files
committed
swtich to the main branch
1 parent c452322 commit b6946af

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: R-CMD-check
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
99
- '**' # matches every branch
@@ -15,7 +15,7 @@ on:
1515

1616
# Allows you to run this workflow manually from the Actions tab
1717
workflow_dispatch:
18-
18+
1919
jobs:
2020
R-CMD-check:
2121
runs-on: ${{ matrix.config.os }}

.github/workflows/codecov.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches:
4-
- master
4+
- main
55
pull_request:
66
branches:
77
- '**' # matches every branch

.github/workflows/command-line.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# This is a basic workflow to help you get started with Actions
2-
# based on https://github.com/JGCRI/hector/new/master?filename=.github%2Fworkflows%2Fmain.yml&workflow_template=blank
2+
# based on https://github.com/JGCRI/hector/new/main?filename=.github%2Fworkflows%2Fmain.yml&workflow_template=blank
33

44
name: Command Line Hector
55

66
# Controls when the action will run.
77
on:
88
push:
99
branches:
10-
- master
10+
- main
1111
pull_request:
1212
branches:
1313
- '**' # matches every branch

.github/workflows/pkgdown.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66
pull_request:
77
branches:
88
- '**' # matches every branch

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ library(ggplot2)
1717

1818
# hector
1919

20-
[![DOI](https://zenodo.org/badge/22892935.svg)](https://zenodo.org/badge/latestdoi/22892935) [![C++ unit tests](https://github.com/JGCRI/hector/actions/workflows/unit-testing.yaml/badge.svg)](https://github.com/JGCRI/hector/actions/workflows/unit-testing.yaml) [![Command Line Hector](https://github.com/JGCRI/hector/actions/workflows/command-line.yaml/badge.svg)](https://github.com/JGCRI/hector/actions/workflows/command-line.yaml) [![R-CMD-check](https://github.com/JGCRI/hector/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/JGCRI/hector/actions/workflows/R-CMD-check.yaml) [![codecov](https://codecov.io/gh/JGCRI/hector/branch/master/graph/badge.svg?token=EGM0lXDxRv)](https://codecov.io/gh/JGCRI/hector)
20+
[![DOI](https://zenodo.org/badge/22892935.svg)](https://zenodo.org/badge/latestdoi/22892935) [![C++ unit tests](https://github.com/JGCRI/hector/actions/workflows/unit-testing.yaml/badge.svg)](https://github.com/JGCRI/hector/actions/workflows/unit-testing.yaml) [![Command Line Hector](https://github.com/JGCRI/hector/actions/workflows/command-line.yaml/badge.svg)](https://github.com/JGCRI/hector/actions/workflows/command-line.yaml) [![R-CMD-check](https://github.com/JGCRI/hector/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/JGCRI/hector/actions/workflows/R-CMD-check.yaml) [![codecov](https://codecov.io/gh/JGCRI/hector/branch/main/graph/badge.svg?token=EGM0lXDxRv)](https://codecov.io/gh/JGCRI/hector)
2121

2222
This is the repository for **Hector**, an open source, object-oriented, simple
2323
global climate carbon-cycle model that runs very quickly while still

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tests](https://github.com/JGCRI/hector/actions/workflows/unit-testing.yaml/badge
99
[![Command Line
1010
Hector](https://github.com/JGCRI/hector/actions/workflows/command-line.yaml/badge.svg)](https://github.com/JGCRI/hector/actions/workflows/command-line.yaml)
1111
[![R-CMD-check](https://github.com/JGCRI/hector/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/JGCRI/hector/actions/workflows/R-CMD-check.yaml)
12-
[![codecov](https://codecov.io/gh/JGCRI/hector/branch/master/graph/badge.svg?token=EGM0lXDxRv)](https://codecov.io/gh/JGCRI/hector)
12+
[![codecov](https://codecov.io/gh/JGCRI/hector/branch/main/graph/badge.svg?token=EGM0lXDxRv)](https://codecov.io/gh/JGCRI/hector)
1313

1414
This is the repository for **Hector**, an open source, object-oriented,
1515
simple global climate carbon-cycle model that runs very quickly while

tests/testthat/test_old-new.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
context("Old new tests")
22
# Verify that hector output for the canonical rcps matches the output from the
3-
# master branch. This "bit for bit" comparison of the output is intended to help
3+
# main branch. This "bit for bit" comparison of the output is intended to help
44
# guarantee that Hector's outputs don't change during "minor" and "patch" development.
55
# When "major" development is expected to impact Hector output, the comparison data will
66
# need to be updated by running data-raw/generate-comp-data.R

vignettes/articles/BuildHector.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To install R, follow the [official instructions](https://cloud.r-project.org/) f
1313

1414
Follow this [YouTube video](https://www.youtube.com/watch?v=Pg3WY8wg1cY) or continue reading.
1515

16-
To install the version associated with the current `master` git branch on GitHub,
16+
To install the version associated with the current `main` git branch on GitHub,
1717
use the `remotes`::install_github` function.
1818
This will automatically install all of Hector's dependencies as well.
1919
(Note that because this requires compiling from source, you will need to have a C compiler installed and configured.)

vignettes/articles/ContributionsGuide.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Contribution Guide
44

55
The Hector team welcomes and values community contributions to Hector, but there are a few important things to know.
66

7-
All contributions must pass through a pull request (PR) process before being merged into the master branch of Hector. Please note that opening a PR does **not** guarantee your work will be merged; we assess potential model changes for fit with Hector’s long-term strategic plan, compatibility, conformance to the model’s code style, and other factors.
7+
All contributions must pass through a pull request (PR) process before being merged into the main branch of Hector. Please note that opening a PR does **not** guarantee your work will be merged; we assess potential model changes for fit with Hector’s long-term strategic plan, compatibility, conformance to the model’s code style, and other factors.
88

99
We encourage all contributors to read and comply with the following guidelines:
1010

@@ -19,7 +19,7 @@ Hector adheres to the [semantic versioning](https://semver.org/) ideology. This
1919

2020
* "Patch changes" that make no impact on Hector functionality, such as documentation fixes or removing dead code, are the easiest to assess and merge.
2121
* "Minor changes" that don’t change the model’s behavior in any fundamental way and don’t change its inputs may require unit tests and some more review.
22-
* "Major changes" that change the model’s input or output structure or induce major behavioral shifts, are considered _breaking changes_. These are subject to the most stringent reviews and will require scientific justification of the development and evidence that the changes have the intended consequences. PRs will almost always be merged into a development branch, not master until a new version of the Hector is ready for release.
22+
* "Major changes" that change the model’s input or output structure or induce major behavioral shifts, are considered _breaking changes_. These are subject to the most stringent reviews and will require scientific justification of the development and evidence that the changes have the intended consequences. PRs will almost always be merged into a development branch, not main until a new version of the Hector is ready for release.
2323

2424

2525
Thank you for your interest in contributing to Hector and we look forward to working with you! However, we maintain the right to refuse to merge PRs that do not comply with these guidelines or that do not meet contribution standards.

vignettes/articles/InputFiles.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Hector input files
66

77
When Hector is invoked from the command line, it takes a single parameter: the name of the primary input file to read. This file, typically stored in the `input/` directory, contains configuration and parameter data controlling the model's run, output, and behavior.
88

9-
The primary input file is a text file with *sections*, *properties*, and *values*. For example, the beginning of the [SSP245 file](/tree/master/inst/input/hector_ssp245.ini) included in the repository looks like this:
9+
The primary input file is a text file with *sections*, *properties*, and *values*. For example, the beginning of the [SSP245 file](/tree/main/inst/input/hector_ssp245.ini) included in the repository looks like this:
1010

1111
```
1212
; Config file for hector model: SSP245

vignettes/articles/SimpleNBox.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ At each Hector time step, `c` is solved by the `CarbonCycleSolver::run()` functi
9090
These steps are described in more detail below.
9191
The complete code for the terrestrial C cycle lives in [`src/simpleNbox.cpp`][cpp] file (with associated headers in [`inst/include/simpleNbox.hpp`][hpp]).
9292

93-
[solver]: https://github.com/JGCRI/hector/blob/master/src/carbon-cycle-solver.cpp
94-
[cpp]: https://github.com/jgcri/hector/blob/master/src/simpleNbox.cpp
95-
[hpp]: https://github.com/JGCRI/hector/blob/master/inst/include/simpleNbox.hpp
93+
[solver]: https://github.com/JGCRI/hector/blob/main/src/carbon-cycle-solver.cpp
94+
[cpp]: https://github.com/jgcri/hector/blob/main/src/simpleNbox.cpp
95+
[hpp]: https://github.com/JGCRI/hector/blob/main/inst/include/simpleNbox.hpp
9696

9797
## Setting the `c` vector (`getCValues`)
9898

0 commit comments

Comments
 (0)