-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rgeos replaced by sf and raster to terra * terra removed aggregation done with sf * github actions : add coverage * check reverse dep : add revdep
- Loading branch information
1 parent
a59c581
commit 60a94f8
Showing
21 changed files
with
1,786 additions
and
1,546 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 |
---|---|---|
@@ -1,12 +1,14 @@ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^appveyor\.yml$ | ||
^\.travis\.yml$ | ||
^codecov\.yml$ | ||
inst/examples | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ | ||
^cran-comments\.md$ | ||
^CRAN-RELEASE$ | ||
^\.github$ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^appveyor\.yml$ | ||
^\.travis\.yml$ | ||
^codecov\.yml$ | ||
inst/examples | ||
^_pkgdown\.yml$ | ||
^docs$ | ||
^pkgdown$ | ||
^cran-comments\.md$ | ||
^CRAN-RELEASE$ | ||
^\.github$ | ||
^revdep$ | ||
^README\.Rmd$ |
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,50 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
name: test-coverage | ||
|
||
jobs: | ||
test-coverage: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: any::covr | ||
needs: coverage | ||
|
||
- name: Test coverage | ||
run: | | ||
covr::codecov( | ||
quiet = FALSE, | ||
clean = FALSE, | ||
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package") | ||
) | ||
shell: Rscript {0} | ||
|
||
- name: Show testthat output | ||
if: always() | ||
run: | | ||
## -------------------------------------------------------------------- | ||
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true | ||
shell: bash | ||
|
||
- name: Upload test results | ||
if: failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: coverage-test-failures | ||
path: ${{ runner.temp }}/package |
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
.Rproj.user | ||
.Rhistory | ||
.RData | ||
.Ruserdata | ||
inst/examples | ||
inst/doc | ||
.Rproj.user | ||
.Rhistory | ||
.RData | ||
.Ruserdata | ||
.idea | ||
inst/examples | ||
inst/doc | ||
.Rdata | ||
.httr-oauth | ||
.DS_Store |
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 |
---|---|---|
@@ -1,75 +1,74 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
S3method(plot,antaresData) | ||
S3method(plot,list) | ||
S3method(plot,mapLayout) | ||
S3method(plot,simOptions) | ||
export(addShadows) | ||
export(colorScaleOptions) | ||
export(defaultTilesURL) | ||
export(exchangesStack) | ||
export(exchangesStackAliases) | ||
export(getInteractivity) | ||
export(leafletDragPointsOutput) | ||
export(limitSizeGraph) | ||
export(mapLayout) | ||
export(modRpart) | ||
export(modXY) | ||
export(plotMap) | ||
export(plotMapLayout) | ||
export(plotMapOptions) | ||
export(plotThermalGroupCapacities) | ||
export(plotXY) | ||
export(prodStack) | ||
export(prodStackAliases) | ||
export(prodStackExchangesLegend) | ||
export(prodStackLegend) | ||
export(renderLeafletDragPoints) | ||
export(runAppAntaresViz) | ||
export(savePlotAsPng) | ||
export(setExchangesStackAlias) | ||
export(setInteractivity) | ||
export(setProdStackAlias) | ||
export(stackMap) | ||
export(tsLegend) | ||
export(tsPlot) | ||
import(antaresProcessing) | ||
import(antaresRead) | ||
import(assertthat) | ||
import(data.table) | ||
import(dygraphs) | ||
import(htmltools) | ||
import(leaflet) | ||
import(leaflet.minicharts) | ||
import(manipulateWidget) | ||
import(rAmCharts) | ||
import(shiny) | ||
import(sp) | ||
import(spMaps) | ||
importFrom(geojsonio,geojson_json) | ||
importFrom(grDevices,col2rgb) | ||
importFrom(grDevices,colorRampPalette) | ||
importFrom(grDevices,colors) | ||
importFrom(grDevices,gray) | ||
importFrom(grDevices,rainbow) | ||
importFrom(grDevices,rgb) | ||
importFrom(graphics,par) | ||
importFrom(graphics,plot.default) | ||
importFrom(methods,is) | ||
importFrom(plotly,add_bars) | ||
importFrom(plotly,add_heatmap) | ||
importFrom(plotly,add_text) | ||
importFrom(plotly,add_trace) | ||
importFrom(plotly,config) | ||
importFrom(plotly,layout) | ||
importFrom(plotly,plot_ly) | ||
importFrom(raster,aggregate) | ||
importFrom(rgeos,gDistance) | ||
importFrom(shiny,runApp) | ||
importFrom(stats,as.formula) | ||
importFrom(stats,density) | ||
importFrom(stats,lm) | ||
importFrom(stats,predict) | ||
importFrom(stats,quantile) | ||
importFrom(utils,capture.output) | ||
importFrom(utils,object.size) | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
S3method(plot,antaresData) | ||
S3method(plot,list) | ||
S3method(plot,mapLayout) | ||
S3method(plot,simOptions) | ||
export(addShadows) | ||
export(colorScaleOptions) | ||
export(defaultTilesURL) | ||
export(exchangesStack) | ||
export(exchangesStackAliases) | ||
export(getInteractivity) | ||
export(leafletDragPointsOutput) | ||
export(limitSizeGraph) | ||
export(mapLayout) | ||
export(modRpart) | ||
export(modXY) | ||
export(plotMap) | ||
export(plotMapLayout) | ||
export(plotMapOptions) | ||
export(plotThermalGroupCapacities) | ||
export(plotXY) | ||
export(prodStack) | ||
export(prodStackAliases) | ||
export(prodStackExchangesLegend) | ||
export(prodStackLegend) | ||
export(renderLeafletDragPoints) | ||
export(runAppAntaresViz) | ||
export(savePlotAsPng) | ||
export(setExchangesStackAlias) | ||
export(setInteractivity) | ||
export(setProdStackAlias) | ||
export(stackMap) | ||
export(tsLegend) | ||
export(tsPlot) | ||
import(antaresProcessing) | ||
import(antaresRead) | ||
import(assertthat) | ||
import(data.table) | ||
import(dygraphs) | ||
import(htmltools) | ||
import(leaflet) | ||
import(leaflet.minicharts) | ||
import(manipulateWidget) | ||
import(rAmCharts) | ||
import(sf) | ||
import(shiny) | ||
import(sp) | ||
import(spMaps) | ||
importFrom(geojsonio,geojson_json) | ||
importFrom(grDevices,col2rgb) | ||
importFrom(grDevices,colorRampPalette) | ||
importFrom(grDevices,colors) | ||
importFrom(grDevices,gray) | ||
importFrom(grDevices,rainbow) | ||
importFrom(grDevices,rgb) | ||
importFrom(graphics,par) | ||
importFrom(graphics,plot.default) | ||
importFrom(methods,is) | ||
importFrom(plotly,add_bars) | ||
importFrom(plotly,add_heatmap) | ||
importFrom(plotly,add_text) | ||
importFrom(plotly,add_trace) | ||
importFrom(plotly,config) | ||
importFrom(plotly,layout) | ||
importFrom(plotly,plot_ly) | ||
importFrom(shiny,runApp) | ||
importFrom(stats,as.formula) | ||
importFrom(stats,density) | ||
importFrom(stats,lm) | ||
importFrom(stats,predict) | ||
importFrom(stats,quantile) | ||
importFrom(utils,capture.output) | ||
importFrom(utils,object.size) |
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.