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

fix check warnings/notes in assim.batch package #3200

Merged
merged 5 commits into from
Jan 18, 2024

Conversation

moki1202
Copy link
Collaborator

No description provided.

@moki1202 moki1202 marked this pull request as ready for review September 15, 2023 08:23
Copy link
Member

@mdietze mdietze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rcheck_reference.log

@infotroph
Copy link
Member

@moki1202 Looks like this is just waiting for an updated Rcheck_reference.log

@moki1202
Copy link
Collaborator Author

moki1202 commented Jan 4, 2024

@moki1202 Looks like this is just waiting for an updated Rcheck_reference.log

@infotroph @mdietze done!

@@ -140,9 +71,32 @@ File ‘PEcAn.assim.batch/R/pda.get.model.output.R’:
OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking re-building of vignette outputs ... OK
* checking re-building of vignette outputs ... WARNING
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that this gets us around the isFalse issue, but I don't feel great about switching a reference log from an OK to a WARNING (the idea of the log was to only move in the direction towards fewer warnings)

get.da.data: no visible binding for global variable ‘ensemble.samples’
get.da.data : <anonymous>: no visible binding for global variable
‘sa.samples’
get.da.data: no visible binding for global variable ‘sa.samples’
get.da.data : <anonymous>: no visible global function definition for
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not required for the PR, but I'm curious what's up with read.output.type and why this one undefined variable was left?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mdietze I think I remember this. I was unable to find which package does read.output.type function belong to.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at those functions, I suspect get.da.data.growth.R and get.da.data.R can both be moved from the /R folder to the /inst folder. I don't have time to go through all the code in detail, but I think most of what's here is redundant with newer code by @istfer and others. This code doesn't appear to be operationally linked to other bits of the PDA and the value of retaining this code is primarily because it provides a record of what Carl Davidson did in his (still unpublished) Master thesis.

@mdietze mdietze added this pull request to the merge queue Jan 18, 2024
Merged via the queue into PecanProject:develop with commit ea5fc6b Jan 18, 2024
7 of 12 checks passed
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

Successfully merging this pull request may close these issues.

3 participants