-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit f18bce1.
- Loading branch information
Showing
239 changed files
with
68,056 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
^CRAN-RELEASE$ | ||
# Extra material related but not to be included in the package | ||
inst/extras | ||
README.Rmd | ||
README.html | ||
index.* | ||
|
||
# pkgdown | ||
docs | ||
|
||
# Vignette | ||
#./vignettes/website | ||
./vignettes/*.Rmd | ||
#./vignettes/fig | ||
#./vignettes/fig/ | ||
./figure$ | ||
./cache$ | ||
# Git related | ||
./.git* | ||
# Travis scripts | ||
.travis.yml | ||
# Misc | ||
./.*~ | ||
./*~ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^packrat/ | ||
^\.Rprofile$ | ||
^NEWS.md$ | ||
^cran-comments\.md$ | ||
^data-raw$ | ||
^revdep$ | ||
^README\.Rmd$ | ||
^README-.*\.png$ | ||
^appveyor\.yml$ | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^doc$ | ||
^Meta$ | ||
^\.github$ | ||
^codecov\.yml$ | ||
^pkgdown$ |
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,2 @@ | ||
inst/doc/fig | ||
|
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,4 @@ | ||
* text=auto | ||
data/* binary | ||
src/* text=lf | ||
R/* text=lf |
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 @@ | ||
*.html |
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,84 @@ | ||
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. | ||
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
pull_request: | ||
branches: | ||
- main | ||
- master | ||
|
||
name: R-CMD-check | ||
|
||
jobs: | ||
R-CMD-check: | ||
runs-on: ${{ matrix.config.os }} | ||
|
||
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- {os: windows-latest, r: 'release'} | ||
- {os: macOS-latest, r: 'release'} | ||
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} | ||
- {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} | ||
|
||
env: | ||
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true | ||
RSPM: ${{ matrix.config.rspm }} | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v1 | ||
with: | ||
r-version: ${{ matrix.config.r }} | ||
|
||
- uses: r-lib/actions/setup-pandoc@v1 | ||
|
||
- name: Query dependencies | ||
run: | | ||
install.packages('remotes') | ||
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2) | ||
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version") | ||
shell: Rscript {0} | ||
|
||
- name: Cache R packages | ||
if: runner.os != 'Windows' | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ env.R_LIBS_USER }} | ||
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }} | ||
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1- | ||
|
||
- name: Install system dependencies | ||
if: runner.os == 'Linux' | ||
run: | | ||
while read -r cmd | ||
do | ||
eval sudo $cmd | ||
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))') | ||
- name: Install dependencies | ||
run: | | ||
remotes::install_deps(dependencies = TRUE) | ||
remotes::install_cran("rcmdcheck") | ||
shell: Rscript {0} | ||
|
||
- name: Check | ||
env: | ||
_R_CHECK_CRAN_INCOMING_REMOTE_: false | ||
run: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check") | ||
shell: Rscript {0} | ||
|
||
- name: Upload check results | ||
if: failure() | ||
uses: actions/upload-artifact@main | ||
with: | ||
name: ${{ runner.os }}-r${{ matrix.config.r }}-results | ||
path: check |
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,38 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
# Workflow triggering derived from: https://stevenmortimer.com/running-github-actions-sequentially/ | ||
on: | ||
push: | ||
branches: [main, master] | ||
tags: ['*'] | ||
paths-ignore: | ||
- 'README.Rmd' | ||
repository_dispatch: | ||
types: [trigger-pkgdown-workflow] | ||
|
||
name: pkgdown | ||
|
||
jobs: | ||
pkgdown: | ||
runs-on: macOS-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v1 | ||
|
||
- uses: r-lib/actions/setup-r@v1 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v1 | ||
with: | ||
extra-packages: pkgdown | ||
needs: website | ||
|
||
- name: Deploy package | ||
run: | | ||
git config --local user.name "$GITHUB_ACTOR" | ||
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" | ||
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)' |
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,38 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/blob/master/.github/workflows/render-readme.yaml | ||
# and https://fromthebottomoftheheap.net/2020/04/30/rendering-your-readme-with-github-actions/ | ||
# Workflow triggering derived from: https://stevenmortimer.com/running-github-actions-sequentially/ | ||
on: | ||
push: | ||
paths: | ||
- 'README.Rmd' | ||
|
||
name: Render README | ||
|
||
jobs: | ||
render: | ||
name: Render README | ||
runs-on: macOS-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: r-lib/actions/setup-r@v1 | ||
- uses: r-lib/actions/setup-pandoc@v1 | ||
- name: Install rmarkdown | ||
run: Rscript -e 'install.packages("rmarkdown")' | ||
- name: Render README | ||
run: Rscript -e 'rmarkdown::render("README.Rmd")' | ||
- name: Commit results | ||
run: | | ||
git config --local user.email "actions@github.com" | ||
git config --local user.name "GitHub Actions" | ||
git commit README.md -m 'Re-build README.Rmd' || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" | ||
- name: Trigger pkgdown workflow | ||
if: success() | ||
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
token: ${{ secrets.REPO_GHA_PAT }} | ||
repository: ${{ github.repository }} | ||
event-type: trigger-pkgdown-workflow | ||
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' |
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,39 @@ | ||
.Rproj.user | ||
.Rhistory | ||
.RData | ||
.Ruserdata | ||
.Rdata | ||
.httr-oauth | ||
.DS_Store | ||
|
||
_pkgdown.yml | ||
inst/doc | ||
docs/docsearch.js | ||
docs/articles/2015-RJournal/response.txt | ||
*Rcheck* | ||
inst/extras/* | ||
application/* | ||
!inst/extras/cheatsheet/ | ||
inst/extras/..Rcheck | ||
*~ | ||
*/~ | ||
vignettes/*_tutorial.md | ||
vignettes/*_tutorial.pdf | ||
vignettes/*_tutorial.html | ||
vignettes/*~ | ||
vignettes/tmp* | ||
vignettes/fig/*.pdf | ||
eurostat.Rproj | ||
vignettes/NUTS_2010.xls | ||
vignettes/NUTS_2010_60M_SH* | ||
vignettes/zipfile | ||
NUTS_2010.xls | ||
zipfile | ||
packrat/lib*/ | ||
|
||
/revdep/.cache.rds | ||
doc | ||
Meta | ||
/doc/ | ||
/Meta/ | ||
docs |
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,96 @@ | ||
Package: eurostat | ||
Type: Package | ||
Title: Tools for Eurostat Open Data | ||
Date: 2021-06-24 | ||
Version: 3.7.7 | ||
Encoding: UTF-8 | ||
Authors@R: | ||
c(person(given = "Leo", | ||
family = "Lahti", | ||
role = c("aut", "cre"), | ||
email = "leo.lahti@iki.fi", | ||
comment = c(ORCID = "0000-0001-5537-637X")), | ||
person(given = "Janne", | ||
family = "Huovari", | ||
role = "aut"), | ||
person(given = "Markus", | ||
family = "Kainu", | ||
role = "aut"), | ||
person(given = "Przemyslaw", | ||
family = "Biecek", | ||
role = "aut"), | ||
person(given = "Daniel", | ||
family = "Antal", | ||
role = "ctb"), | ||
person(given = "Diego", | ||
family = "Hernangomez", | ||
role = "ctb"), | ||
person(given = "Joona", | ||
family = "Lehtomaki", | ||
role = "ctb"), | ||
person(given = "Francois", | ||
family = "Briatte", | ||
role = "ctb"), | ||
person(given = "Reto", | ||
family = "Stauffer", | ||
role = "ctb"), | ||
person(given = "Paul", | ||
family = "Rougieux", | ||
role = "ctb"), | ||
person(given = "Anna", | ||
family = "Vasylytsya", | ||
role = "ctb"), | ||
person(given = "Oliver", | ||
family = "Reiter", | ||
role = "ctb"), | ||
person(given = "Pyry", | ||
family = "Kantanen", | ||
role = "ctb")) | ||
MailingList: rOpenGov <ropengov-forum@googlegroups.com> | ||
Description: Tools to download data from the Eurostat database | ||
<https://ec.europa.eu/eurostat> together with search and | ||
manipulation utilities. | ||
License: BSD_2_clause + file LICENSE | ||
Depends: | ||
methods, | ||
R (>= 3.1.0) | ||
Imports: | ||
broom, | ||
classInt, | ||
countrycode, | ||
curl, | ||
dplyr, | ||
httr, | ||
magrittr, | ||
jsonlite, | ||
lubridate, | ||
RColorBrewer, | ||
readr, | ||
RefManageR, | ||
stringi, | ||
stringr, | ||
tibble, | ||
tidyr, | ||
regions, | ||
rlang | ||
Suggests: | ||
covr, | ||
Cairo, | ||
ggplot2, | ||
knitr, | ||
markdown, | ||
rmarkdown, | ||
roxygen2, | ||
rvest, | ||
testthat, | ||
tmap, | ||
usethis, | ||
sf, | ||
here | ||
LazyData: true | ||
URL: http://ropengov.github.io/eurostat, https://ropengov.github.io/eurostat/ | ||
BugReports: https://github.com/ropengov/eurostat/issues | ||
VignetteBuilder: knitr | ||
NeedsCompilation: no | ||
Repository: CRAN | ||
RoxygenNote: 7.1.1 |
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,9 @@ | ||
Copyright 2014-2021 Leo Lahti, Janne Huovari, Markus Kainu, Przemyslaw Biecek | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Oops, something went wrong.