New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Submit to CRAN #12
Comments
Might be worth cleaning up library(tidyverse)
library(completejourney)
campaign_descriptions %>%
gather(start_date, end_date, key = campaign_event, value = date) %>%
ggplot(aes(x = date, y = campaign_id %>% reorder(date, FUN = 'min'))) +
geom_line(aes(group = campaign_id), color = "grey50") +
geom_point(aes(color = campaign_type)) +
scale_x_date(date_breaks = "3 months", date_labels = "%b %Y") +
theme(legend.position = "bottom") +
labs(
title = "Redemption Periods by Campaign in the Complete Journey Study",
subtitle = "Campaigns lasted a median length of five weeks",
x = "Date",
y = "Campaign ID",
color = "Campaign Type",
caption = "Data Source: The completejourney package (https://github.com/bradleyboehmke/completejourney)"
) |
@jeffboichuk and @StevenMMortimer, I let this slide for a while but got back to it today. I was able to update all the data sets that contain |
@jeffboichuk and @StevenMMortimer , message from Uwe on our submission.
Looks like we need to go with plan B - host the data outside of CRAN but have the package functions install the data (like the |
@bradleyboehmke Thanks for submitting! Bummer to hear about the size. How do you feel about automatically loading the data from GitHub using the Here is a version of the
|
@StevenMMortimer , I like this idea. I've never seen this approach before so let me read up on it a bit. Is there a restructuring of the package required so that the .rda files are not uploaded to CRAN or is as simple as adding the |
@bradleyboehmke Yes, I was thinking of keeping the files in their place and ignoring them on build. |
@StevenMMortimer have you found a couple packages that implement this method? If so please share, I'd like to dig into them and see if there are best practices. Or if you've identified best practices regarding this please do educate me :). Either way, this seems like a great approach |
@bradleyboehmke That picture is amazing. I really have no idea what I'm doing. My suggestion to include stuff in the In just searching for packages using that method, I ran across the drat package, which can host packages in a way that allows you to use Package repo: https://github.com/eddelbuettel/drat Lastly, it might be worth revisiting with how important it is to be a CRAN package or the benefits we gain from getting it to a state that's installable like a CRAN package. The motivation is escaping me at the moment, aside from it just being a more consistent way to install and maintain for beginners. |
@StevenMMortimer, I made some updates to the package. I decided against the Instead, I added a package install message and incorporated a |
@bradleyboehmke nicely done! Looks good to me. Perhaps "Download them with the |
@bradleyboehmke @jeffboichuk That all sounds great to me. Fingers crossed on the second CRAN submission. |
@StevenMMortimer @jeffboichuk Got feedback on the CRAN submission. No major blockers but they wanted the following changed:
I've made these changes and resubmitted this morning. Should be good to go but will let you know once final acceptance comes in. Might want to start thinking about a hex sticker 🤔! |
@bradleyboehmke @StevenMMortimer I have an idea for the hex sticker. It might be crazy. A Pacman-like maze that has a shopping cart at the start and a few food-related emojis along the way. The image would symbolize that the data represent a sample of households' purchases at a grocer from the start of the study period to the end of it. That's the journey, which shouldn't be confused with customer journey mapping. Customer journey mapping stems from problem recognition, to information search, to choosing within a consideration set, to purchase. Just thought I'd throw it out there as a potential way to capture the package's contents in the hex sticker. Thanks for the finishing touches, Brad! |
@jeffboichuk @StevenMMortimer Ok, it's been a few weeks since the last submission and I've got an update. On the last submission, which was fixing minor issues that the first reviewer, we had a different reviewer assess the submission. This time they responded with:
This peeved me off since it was not discussed by the other reviewer so I argued against it. Well, I lost so we have a couple options:
This approach is described in https://journal.r-project.org/archive/2017/RJ-2017-026/RJ-2017-026.pdf but I have not tried to implement it yet. Let me know your thoughts and I can make this change (hopefully quickly) and get the package resubmitted. |
@bradleyboehmke Thanks for dealing with all that. Option 1 (list of tibbles) sounds easy and reliable. When I looked at drat before it sounded like we needed to host the files somewhere and GitHub was not an option, but I don't really know what I'm talking about with that. If you want to learn more and go down that rabbit hole, that's fine too. |
If you guys are cool with going the list route than I'm fine with that. |
@jeffboichuk @StevenMMortimer , I let this get a little stale but I spent yesterday making revisions per CRANs feedback on the last package submit. Check out the updates and let me know your thoughts. I went to submit it to CRAN yesterday but they are closed for submissions until Aug 18 (summer vacation). |
@bradleyboehmke I really like the shift you made from |
completejourney is now on CRAN. Enjoy with |
Thanks so much @bradleyboehmke! Awesome stuff. |
Adding a note for work relating to the submission of this package to CRAN.
The text was updated successfully, but these errors were encountered: