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

fixes for new check errors in R >= 4.4.0 (modules edition) #3350

Merged
merged 14 commits into from
Sep 6, 2024

Conversation

infotroph
Copy link
Member

Description

Continuing the check message cleanup from #3346 -- see there for more context.

Focusing here on the rest of the modules/ directory, mostly with Roxygen fixes.

Motivation and Context

Review Time Estimate

  • Immediately
  • Within one week
  • When possible

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • My name is in the list of CITATION.cff
  • I have updated the CHANGELOG.md.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Description: This package contains functions for performing forward runs and
inversions of radiative transfer models (RTMs). Inversions can be performed
using maximum likelihood, or more complex hierarchical Bayesian methods.
Underlying numerical analyses are optimized for speed using Fortran code.
Depends: R (>= 2.10)
Copy link
Member Author

Choose a reason for hiding this comment

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

R adds this automatically because some of the example data are not readable in older versions. I dunno, does depending on R newer than 2.1 force people to live too much on the cutting edge? 😁

@@ -35,12 +35,12 @@
#' Assign values to spectra by wavelength
#'
#' @inheritParams [[.spectra
#' @param values Vector or matrix of values to assign
#' @param value Vector or matrix of values to assign
Copy link
Member Author

Choose a reason for hiding this comment

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

the RHS argument to a [[ method always has to be named value

raw.sensor.data.RData 109Kb 80Kb xz
sensor.rsr.RData 2.3Mb 1.9Mb xz
testspec.RData 1.2Mb 956Kb xz
* checking data for ASCII and uncompressed saves ... OK
Copy link
Member Author

Choose a reason for hiding this comment

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

I resaved these files as directed

modules/data.remote/R/NLCD.R Outdated Show resolved Hide resolved
Maintainer: ‘David LeBauer <[email protected]>’
Authors@R: ‘David LeBauer <[email protected]>’

License stub is invalid DCF.
Copy link
Member

Choose a reason for hiding this comment

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

Will these go away when we switch licenses?

Copy link
Member Author

@infotroph infotroph Sep 5, 2024

Choose a reason for hiding this comment

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

Yes, they will, at which point we'll be able to come back and remove them from this file (and having here until then won't hurt anything)

modules/priors/tests/Rcheck_reference.log Outdated Show resolved Hide resolved
modules/priors/vignettes/priors_demo.Rmd Show resolved Hide resolved
@infotroph infotroph merged commit d389f54 into PecanProject:develop Sep 6, 2024
12 of 13 checks passed
@infotroph infotroph deleted the check-on-R4.4.1-modules branch September 6, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants