https://github.com/rte-antares-rpackage/antaresdev
https://github.com/rte-antares-rpackage/antaresdev
adequacy antares energy monte-carlo-simulation optimization r rte simulation tyndp
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rte-antares-rpackage/antaresdev
- Owner: rte-antares-rpackage
- Created: 2017-02-09T16:04:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-13T12:17:45.000Z (about 7 years ago)
- Last Synced: 2025-01-31T06:48:02.301Z (5 months ago)
- Topics: adequacy, antares, energy, monte-carlo-simulation, optimization, r, rte, simulation, tyndp
- Language: R
- Size: 19.5 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://ci.appveyor.com/project/rte-antares-rpackage/antaresDev)[](https://travis-ci.org/rte-antares-rpackage/antaresDev)[](https://codecov.io/github/rte-antares-rpackage/antaresDev?branch=master)
# antares-rpackageUtils
# Fixing CRLF conversion
Like explain [here](https://github.com/krlmlr/r-appveyor), use a .gitattributes file that takes care of fixing CRLF conversion settings that are relevant on Windows. [The one in this repo](/.gitattributes) can be used for starters.
# Check your package with r-hub
with R / RStudio, see : https://github.com/r-hub/rhub with this command
```R
check_for_cran()
```or directly with a website : https://builder.r-hub.io/
If you have some error like this
```R
check_for_cran()
Error in curl::curl_fetch_memory(url, handle = handle) :
error setting certificate verify locations:
CAfile: /mingw64/ssl/certs/ca-bundle.crt
CApath: none
```You must set your proxy
```R
#by example ....
Sys.setenv(http_proxy="http://IP_PROXY:PORT_PROXY")
Sys.setenv(https_proxy="http://IP_PROXY:PORT_PROXY"#check your parameter
Sys.getenv("http_proxy")
Sys.getenv("https_proxy")#For rte
Sys.setenv(http_proxy="http://NNI:Mdp@IP_PROXY:PORT_PROXY")
Sys.setenv(https_proxy="http://NNI:Mdp@IP_PROXY:PORT_PROXY")
```# Naming convention in antaresPackages
Follow Hadley Style : http://adv-r.had.co.nz/Style.html
DON'T Follow Google R'Style, see : http://www.edii.uclm.es/~useR-2013/slides/145.pdf