Skip to content
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

Trouble with using 'assess.yr' for documents that span multiple calendar years #118

Open
grinnellm opened this issue Jan 31, 2018 · 1 comment

Comments

@grinnellm
Copy link
Collaborator

I just noticed an error caused by using the variable assess.yr in the text. We started working on our herring assessment in Sept 2017, and just sent the final draft to CSAS in Jan 2018. Note that
assess.yr <- as.numeric(substr(Sys.Date(), 1, 4))
which changed our 'assessment year' from 2017 to 2018 in some of our figure and table captions, and document text. Perhaps this is more of a warning to others rather than an issue.

@cgrandin
Copy link
Owner

cgrandin commented Feb 1, 2018

Yeah we changed this for hake so that it's a hardwired year. I got carried away and put that code in at some point!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants