Comments (1)
The documentation has been consolidated on the gh-pages branch!
So it turns out that adding the docs file to the master branch while easy to do can increase the size of the repo. There is a work around however it is some what convoluted. Instead of the regular pkgdown::build_site()
you will need to use the deploy_to_branch()
see https://pkgdown.r-lib.org/reference/deploy_to_branch.html. I ran into a lot of issues with git hub permissions and ended up using something like as recommend by Alexey.
The ability to run the following from command line depends on having pandoc
installed.
# Create gh-pages branch
git checkout --orphan gh-pages
# Make sure this works before running next command!
git rm -rf .
git commit --allow-empty -m "Initialize gh-pages"
git push -u origin gh-pages
# Create a new worktree
git worktree add ../fldgen-pkgdown gh-pages
# Launch R
R
# From R, run pkgdown
library(pkgdown)
pkg <- as_pkgdown(".", override = list(destination = "../fldgen-pkgdown"))
build_site(pkg, devel = FALSE, preview = FALSE, install = FALSE)
quit()
# Back to command line
cd ../fldgen-pkgdown
git push
from fldgen.
Related Issues (20)
- clean up comments and move internal functions in normalizeresiduals.R to be external HOT 1
- fix the memory bloat of a saved emulator HOT 6
- downsized data sets to speed up testing HOT 1
- Create and archive trained emulators for popular ESMs HOT 2
- Instructions in tutorial2 are incorrect
- Add option to splice a historical scenario onto each future scenario
- Meanfield arrays are not converted back to native units. HOT 1
- Misleading documentation in generate.TP.fullgrids
- Quantile transform sometimes generates NA values
- globalop field in griddata is incorrect when grid cells are missing
- Check with full GCM data - impacts of training on full data or just land data
- Add github actions to the repo HOT 2
- 'reading and writing models works' test fails HOT 6
- remove dependency on gcammaptools HOT 1
- Problem with testing fldgen on developmental version of R HOT 8
- update stickers on the readme HOT 1
- variability in Tgav and using Hector to drive trained ESM emulators HOT 1
- Add tutorials to actually go through emulator validation HOT 2
- revisit warnings - variable labels - units HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fldgen.