Giter Site home page Giter Site logo

forestgeo / fgeo.x Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 2.39 MB

[R-package on CRAN] Access small example datasets from Luquillo, a ForestGEO site in Puerto Rico

Home Page: https://forestgeo.github.io/fgeo.x/

License: GNU General Public License v3.0

R 9.42% Shell 0.18% Logos 1.66% HTML 77.47% CSS 6.30% C++ 4.98%

fgeo.x's People

Stargazers

 avatar

Watchers

 avatar  avatar

fgeo.x's Issues

fgeo.x-1.1.4

Prepare for release:

  • Create pre-release branch.
  • Use full URLs.
  • devtools::check_win_devel()

Copy job results to results object in the global environment:

  • ck_remote <- devtools::check(remote = TRUE)
  • ck_cran <- rhub::check_for_cran()
  • ck_macos <- rhub::check_on_macos()
  • ck_fedora_cd <- rhub::check(platform = "fedora-clang-devel")
  • ck_fedora_gd <- rhub::check(platform = "fedora-gcc-devel")
  • ck_solaris <- rhub::check_on_solaris()

Also:

  • Update NEWS.md (tidyverse style ); May temporarily use version.9000
  • Merge.

Perform release:

  • Have you updated packages with (update.packages())?
  • Create release branch
  • usethis::use_version()

(Walk through devtools::release())

  • Have you run R CMD check locally?
  • Have you checked for spelling errors (with spell_check())?
  • Were devtool's checks successful?
  • devtools::check_win_devel()
  • rhub::check_for_cran().
  • Have you updated NEWS.md file?
  • Have you updated DESCRIPTION (version number, use_tidy_version(), use_tidy_description())?
  • Have you updated cran-comments.md?
  • Submit to CRAN
  • Approve submission by replying to email from CRAN
  • Confirm change of mainteriner's email address by replying-to-all to email from CRAN

Wait for CRAN...

  • Accepted
  • Tag release
  • Merge release branch back to master branch
  • usethis::use_github_release()
  • usethis::use_dev_version()

Templatate at forestgeo/learn#182 (adapted from

First CRAN release 1.1.3

Prepare for release:

  • Create pre-release branch.
  • rhub::validate_email()
  • ck <- rhub::check_for_cran()
  • Windows, R-devel
  • Ubuntu, R-release
  • Fedora, R-devel
  • Mac, R-release: rhub::check_on_macos()
  • Update NEWS.md (tidyverse style ); May temporarily use version.9000
  • Merge.

Perform release:

  • Have you updated packages with (update.packages())?
  • Create release branch
  • Update installation instructions
  • Bump version (in DESCRIPTION and NEWS)

(Walk through devtools::release())

  • Have you run R CMD check locally?
  • Have you checked for spelling errors (with spell_check())?
  • Were devtool's checks successful?
  • devtools::check_win_devel()
  • rhub::check_for_cran().
  • Have you updated NEWS.md file?
  • Have you updated DESCRIPTION (version number, use_tidy_version(), use_tidy_description())?
  • Have you updated cran-comments.md?
  • Submit to CRAN

Wait for CRAN...

  • Accepted
  • Tag release
  • Merge release branch back to master branch
  • usethis::use_github_release()
  • usethis::use_dev_version()
  • Update install instructions in README

Templatate at forestgeo/learn#182 (adapted from https://github.com/r-lib/usethis/issues/338).

Extend gh::gh() to behave similar to fs::dir_ls()

# DEVELOP FUNCTIONS TO:
# dir_ls
# browse
# download
# read
# view

# TODO: Adapt the api to behave as fs::dir_ls()
gh_dir <- function(owner, repo = NULL, path = NULL) {
  if (is.null(repo)) {
    path_request <- glue::glue("/users/{owner}/repos")
    out <- fs::path(owner, purrr::map_chr(gh::gh(path_request), "name"))
    return(gh_url(out))
  }

  if (is.null(path)) {
    path_request <- glue::glue("/repos/{owner}/{repo}/contents/")
    out <- fs::path(owner, repo, purrr::map_chr(gh::gh(path_request), "name"))
    return(gh_url(out))
  }

  path_request <- glue::glue("/repos/{owner}/{repo}/contents/{path}")
  out <- fs::path(
    owner,
    repo,
    "tree/master/",
    path,
    purrr::map_chr(gh::gh(path_request), "name")
  )
  gh_url(out)
}

gh_url <- function(x) {
  paste0("https://github.com/", x)
}

gh_dir("forestgeo")
gh_dir("forestgeo", "fgeo.biomass")
gh_dir("forestgeo", "fgeo.biomass", "R")
gh_dir("forestgeo", "fgeo.x", "revdep/checks/fgeo.analyze")
gh_dir("forestgeo", "Climate", "Met_Station_Data/SCBI/ForestGEO_met_station-SCBI/")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.