Comments (7)
These are the plots it should create:
from tes_spatial_access_2021.
Wow, you've really got a namespace problem. Something is using the plyr
package, but you're also using dplyr
throughout, and I'm getting namespace collisions (e.g. summarize()
calls are using plyr in some circumstances, which is not what you want and generates errors). That's one problem, and it's causing a lot of others.
To your question: the gg_totalcounts
target calls do_gg_totalcounts
, and here's the beginning of that routine:
do_gg_totalcounts <- function(peakcounts_core) {
browser()
totalcounts_label <-
peakcounts_core %>%
do_labels_totalcounts_intact(.$counts, .$Moisture, .$Amendments)
This is already looking weird and bad, but look at do_label_totalcounts_intact
:
do_labels_totalcounts_intact = function(depvar, Moisture, Amendments, Wetting){
# 1. p-values for moisture ----
moisture_label =
peakcounts_core %>%
The parameters don't match up, and the function is calling peakcounts_core
which doesn't exist in this function. So yeah at this point the code throws up its hand and says wtf.
from tes_spatial_access_2021.
I'm opening a PR with fixes for some of the above. In particular look at my changes to 2f-fticr-pipeline_plotting.R
. The pipeline now makes it through the R Markdown targets.
from tes_spatial_access_2021.
That makes sense, I think. I assumed I didn't have to add the file name in the function structure, because that isn't changing. I guess not.
Thanks!
from tes_spatial_access_2021.
Question for you: how to you get those very nice looking file references in your comments?
from tes_spatial_access_2021.
I get the permalink from the code file, and then add a line range
example:
https://github.com/kaizadp/tes_spatial_access/blob/5f34b22e8bf9d72448d70f224ba426224896f850/code/2f-fticr-pipeline_plotting.R #L414-L416
I added the space before the # so you can see the link
from tes_spatial_access_2021.
Oh cool, thanks.
from tes_spatial_access_2021.
Related Issues (3)
- f-ing drake HOT 10
- variables in functions HOT 4
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 tes_spatial_access_2021.