Closed meetagrawal09 closed 1 year ago
The work on this pull request is in-progress. This PR will try to add a README to all the packages which already don't have one.
Currently working on adding these to pecan/models
.
I would need some help on the below issues :
README
for a model other than those which have been auto-generated here that is INSTALLATION
and EXAMPLE
@Aariq, @mdietze, @infotroph if you can please help me out with this.
You can install the development version of PEcAn.BIOCRO
from r-universe like so:
# Enable repository from pecanproject
options(repos = c(
pecanproject = 'https://pecanproject.r-universe.dev',
CRAN = 'https://cloud.r-project.org'))
# Download and install PEcAn.BIOCRO in R
install.packages('PEcAn.BIOCRO')
Or you can install directly from GitHub with the remotes
package like so:
library(remotes)
install_github('pecanproject/pecan', subdir = "models/biocro")
For the example section, you could see if the package has a vignette and include a simplified version or maybe just leave that section empty for now.
@Aariq can you please have a look at this failing check
. Description put up below.
Error(s) in re-building vignettes:
...
--- re-building ‘betydb_access.Rmd’ using rmarkdown
Error: processing vignette 'betydb_access.Rmd' failed with diagnostics:
The function xfun::isFALSE() will be deprecated in the future. Please consider using base::isFALSE(x) or identical(x, FALSE) instead.
--- failed re-building ‘betydb_access.Rmd’
--- re-building ‘create_sites.geometry.Rmd’ using rmarkdown
Error: processing vignette 'create_sites.geometry.Rmd' failed with diagnostics:
The function xfun::isFALSE() will be deprecated in the future. Please consider using base::isFALSE(x) or identical(x, FALSE) instead.
--- failed re-building ‘create_sites.geometry.Rmd’
@Aariq I have added a README
file to all the model
packages. The below listed packages already contained a README
file :
models/cable
models/jules
models/ldndc
models/linkages
models/maat
models/sibcasa
models/stics
Is there a need to update those just to follow a pattern like the newly added README
files ( retaining their current data in relevant sections ) ?
@Aariq can you please have a look at this failing
check
. Description put up below.Error(s) in re-building vignettes: ... --- re-building ‘betydb_access.Rmd’ using rmarkdown Error: processing vignette 'betydb_access.Rmd' failed with diagnostics: The function xfun::isFALSE() will be deprecated in the future. Please consider using base::isFALSE(x) or identical(x, FALSE) instead. --- failed re-building ‘betydb_access.Rmd’ --- re-building ‘create_sites.geometry.Rmd’ using rmarkdown Error: processing vignette 'create_sites.geometry.Rmd' failed with diagnostics: The function xfun::isFALSE() will be deprecated in the future. Please consider using base::isFALSE(x) or identical(x, FALSE) instead. --- failed re-building ‘create_sites.geometry.Rmd’
Sorry, I have no clue. xfun::isFALSE()
doesn't appear in those vignettes, and xfun
isn't even a direct dependency, so must be buried in a function somewhere. My guess is it isn't something we can fix.
I've added a README
to all the packages
Would like to get a review on this PR
@mdietze this PR is ready for a merge.
Description
The PR aims to add a
README
file to all packages as part of prepping packages forCRAN
This PR fixes #3043Review Time Estimate
Types of changes
Checklist: