-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from ropensci/152-entities
Support Entity management
- Loading branch information
Showing
161 changed files
with
3,944 additions
and
921 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,25 @@ | ||
FROM ghcr.io/rocker-org/devcontainer/r-ver:4.2 | ||
|
||
# non interactive frontend for locales | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# installing texlive and utils | ||
RUN apt-get update && \ | ||
apt-get -y install --no-install-recommends \ | ||
libudunits2-dev libxtst6 libxt6 libmagick++-dev \ | ||
libxml2-dev libjq-dev libudunits2-dev libgdal-dev libgeos-dev libproj-dev \ | ||
libicu-dev libv8-dev libjq-dev libprotobuf-dev protobuf-compiler libgit2-dev \ | ||
rsync mdbtools cargo libavfilter-dev libfontconfig1-dev libopenblas-dev \ | ||
freetds-common libct4 libsybdb5 freetds-bin freetds-dev libsybdb5 tdsodbc \ | ||
unixodbc make git procps locales curl && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# generating locales | ||
RUN sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen && \ | ||
dpkg-reconfigure --frontend=noninteractive locales && \ | ||
update-locale LANG=en_GB.UTF-8 | ||
ENV LANGUAGE=en_GB.UTF-8 LANG=en_GB.UTF-8 LC_ALL=en_GB.UTF-8 | ||
|
||
# installing cpanm & missing latexindent dependencies | ||
RUN curl -L http://cpanmin.us | perl - --self-upgrade && \ | ||
cpanm Log::Dispatch::File YAML::Tiny File::HomeDir |
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,40 @@ | ||
{ | ||
"name": "R (rocker/r-ver base)", | ||
"dockerFile": "Dockerfile", | ||
"features": { | ||
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": { | ||
"version": "prerelease" | ||
}, | ||
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": { | ||
"packages": "libudunits2-dev,libxtst6,libxt6,libmagick++-dev" | ||
}, | ||
"ghcr.io/rocker-org/devcontainer-features/r-packages:1": { | ||
"packages": "github::rstudio/renv,tidyverse,git2r,knitr,spelling,languageserver,precommit,clisymbols,crayon,dplyr,fs,glue,httr,httr2,janitor,lifecycle,lubridate,magrittr,purrr,readr,rlang,stringr,semver,tibble,tidyr,xml2,covr,DT,ggplot2,here,knitr,lattice,leaflet,listviewer,leafpop,leafem,mapview,rmarkdown,roxygen2,sf,terra,testthat,tmap,usethis" | ||
}, | ||
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {} | ||
}, | ||
"mounts": [ | ||
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.gitconfig,target=~/.gitconfig,type=bind,consistency=cached" | ||
], | ||
"onCreateCommand": "pre-commit install && pre-commit run", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"mechatroner.rainbow-csv", | ||
"REditorSupport.r", | ||
"RDebugger.r-debugger", | ||
"ms-azuretools.vscode-docker", | ||
"usernamehw.errorlens", | ||
"christian-kohler.path-intellisense", | ||
"ms-vscode.live-server" | ||
] | ||
}, | ||
"codespaces": { | ||
"openFiles": [ | ||
"DESCRIPTION", | ||
"NEWS.md", | ||
"data-raw/make_release.R" | ||
] | ||
} | ||
} | ||
} |
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,7 @@ | ||
linters: linters_with_defaults( | ||
line_length_linter(120), | ||
object_name_linter = NULL, | ||
line_length_linter = NULL, | ||
commented_code_linter = NULL | ||
) | ||
exclusions: list() |
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,54 @@ | ||
exclude: "/migrations/|^venv/|/email/subject/" | ||
default_stages: [commit] | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
name: Drop trailing whitespace | ||
exclude: man | ||
- id: end-of-file-fixer | ||
name: Fix end of files | ||
- id: check-yaml | ||
name: Check YAML syntax | ||
- id: check-toml | ||
name: Check TOML syntax | ||
# - id: pretty-format-json | ||
# name: Format JSON | ||
- id: check-added-large-files | ||
name: Prevent adding large files | ||
args: ['--maxkb=1024'] | ||
- id: check-merge-conflict | ||
name: Check for unhandled merge conflicts | ||
- id: debug-statements | ||
name: Check for debug statements | ||
- id: detect-private-key | ||
name: Detect private keys | ||
|
||
# https://lorenzwalthert.github.io/precommit/articles/available-hooks.html | ||
- repo: https://github.com/lorenzwalthert/precommit | ||
rev: v0.4.2 | ||
hooks: | ||
- id: style-files | ||
name: Style code to tidyverse conventions | ||
args: [--scope=spaces] | ||
- id: readme-rmd-rendered | ||
name: Ensure README.md is up to date | ||
- id: no-debug-statement | ||
name: Ensure that no debug() statement is committed | ||
- id: no-browser-statement | ||
name: Ensure that no browser() statement is committed | ||
# - id: spell-check | ||
# name: Spellcheck | ||
# - id: deps-in-desc | ||
# name: Ensure that DESCRIPTION lists all dependencies | ||
# args: [--allow_private_imports, --root=R] | ||
- id: use-tidy-description | ||
name: Format DESCRIPTION | ||
# - id: pkgdown | ||
# name: Validate pkgdown.yml | ||
# - id: lintr | ||
# name: Lint code but emit only warnings | ||
# args: [--warn_only] | ||
# verbose: true |
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
Oops, something went wrong.