-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Undo some of the changes introduced by merging with master.
- Loading branch information
1 parent
135771d
commit d038048
Showing
10 changed files
with
240 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
name: Documentation | ||
about: Template for suggesting documentation changes | ||
title: '' | ||
labels: documentation | ||
assignees: '' | ||
|
||
--- | ||
|
||
Please use the below template to submit your issue: | ||
|
||
# Documentation changes | ||
|
||
What new addition or change to the documentation would you like to see? | ||
Where should this addition or change be made? If relevant, provide the name of the method, class or function. | ||
|
||
# Specifications | ||
|
||
- `familiar` version: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
name: Bugs and problems | ||
about: General issue template | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
Please use the below template to submit your issue: | ||
|
||
# Expected behaviour | ||
|
||
What did you expect `familiar` to do? | ||
|
||
# Observed behaviour | ||
|
||
What did `familiar` actually do? What error (if any) was produced? | ||
|
||
# Steps to reproduce the problem | ||
|
||
What steps are required to reproduce the problem? If possible, provide code and data that led to the problem. | ||
|
||
# Specifications | ||
|
||
- `familiar` version: | ||
- `R` version: | ||
- Operating system: | ||
- Other package versions (*if relevant*): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
# | ||
# See https://github.com/r-lib/actions/tree/master/examples#readme for | ||
# additional example workflows available for the R community. | ||
|
||
name: Run R CMD check for strong dependencies only (nosuggests) | ||
|
||
on: [pull_request, workflow_dispatch] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
r-version: ["release"] | ||
os: [ windows-latest ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: r-lib/actions/setup-pandoc@v2 | ||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
dependencies: '"hard"' | ||
cache: false | ||
extra-packages: | | ||
any::rcmdcheck | ||
any::testthat | ||
needs: check | ||
|
||
- name: Identify and remove all non-critical packages | ||
run: | | ||
installed_packages <- data.table::data.table(utils::installed.packages()) | ||
required_packages <- c("familiar", "rcmdcheck", "testthat") | ||
required_packages <- union(required_packages, unlist(tools::package_dependencies(required_packages, recursive = TRUE), use.names=FALSE)) | ||
required_packages <- union(required_packages, installed_packages[Priority == "base"]$Package) | ||
non_critical_packages <- setdiff(installed_packages$Package, required_packages) | ||
for (package in non_critical_packages) {utils::remove.packages(installed_packages[Package == package]$Package, installed_packages[Package == package]$LibPath)} | ||
shell: Rscript {0} | ||
|
||
- uses: r-lib/actions/check-r-package@v2 | ||
with: | ||
upload-snapshots: true | ||
args: 'c("--no-manual", "--as-cran", "--no-vignettes", "--no-build-vignettes")' | ||
build_args: 'c("--no-build-vignettes", "--no-manual")' | ||
error-on: '"error"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
# | ||
# See https://github.com/r-lib/actions/tree/master/examples#readme for | ||
# additional example workflows available for the R community. | ||
|
||
name: Run R CMD for different OS | ||
|
||
on: [pull_request, workflow_dispatch] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
r-version: ["release"] | ||
os: [ ubuntu-latest, macos-latest, windows-latest ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: r-lib/actions/setup-pandoc@v2 | ||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: | | ||
any::rcmdcheck | ||
needs: check | ||
|
||
- uses: r-lib/actions/check-r-package@v2 | ||
with: | ||
upload-snapshots: true | ||
args: 'c("--no-manual", "--as-cran", "--no-vignettes", "--no-build-vignettes")' | ||
build_args: 'c("--no-build-vignettes", "--no-manual")' | ||
error-on: '"error"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
# | ||
# See https://github.com/r-lib/actions/tree/master/examples#readme for | ||
# additional example workflows available for the R community. | ||
|
||
name: build-check | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '30 6 1,15 * *' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
r-version: ["release"] | ||
os: [ ubuntu-latest, macos-latest, windows-latest ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: r-lib/actions/setup-pandoc@v2 | ||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: | | ||
any::rcmdcheck | ||
needs: check | ||
|
||
- uses: r-lib/actions/check-r-package@v2 | ||
with: | ||
upload-snapshots: true | ||
args: 'c("--no-manual", "--as-cran", "--no-vignettes", "--no-build-vignettes")' | ||
build_args: 'c("--no-build-vignettes", "--no-manual")' | ||
error-on: '"error"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,7 @@ | |
doc | ||
Meta | ||
tests/testthat/Rplots.pdf | ||
inst/doc | ||
/doc/ | ||
/Meta/ | ||
/man/ | ||
*.Rd | ||
tests/old_experiments/_experiment | ||
Rplots.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters