Skip to content

Commit

Permalink
Use traits build (#770)
Browse files Browse the repository at this point in the history
*  swap to using the traits.build package to build austraits.build
* move script with functions used in custom_R_code - it was scripts/custom.R; now R/custom_R_code.R
*  edits to metadata files to switch method_id to method_context_id & add proper method_id
---------
Co-authored-by: Elizabeth Wenk <[email protected]>
Co-authored-by: Sophie Yang <[email protected]>
Co-authored-by: yangsophieee <[email protected]>
  • Loading branch information
dfalster authored Sep 18, 2023
1 parent 0cf1bbb commit 411f04f
Show file tree
Hide file tree
Showing 161 changed files with 526 additions and 6,354 deletions.
83 changes: 0 additions & 83 deletions .github/workflows/R-CMD-check.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:

- name: check sources
run: |
library(austraits.build)
source("scripts/custom.R")
library(traits.build)
source("R/custom_R_code.R")
dataset_test(dir("data"))
shell: Rscript {0}

- name: build austraits
run: |
library(austraits.build)
source("scripts/custom.R")
library(traits.build)
source("R/custom_R_code.R")
remake::make()
shell: Rscript {0}

38 changes: 7 additions & 31 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
Type: Package
Type: Compendium
Package: austraits.build
Title: Package used to build an AusTraits data resource
Title: Reprository used to build an AusTraits data resource
Version: 0.9.0
Maintainer: Daniel Falster <[email protected]>
Authors@R: c(
person(given = "Daniel", family = "Falster", role = c("cre", "aut"), email = "[email protected]", comment = c(ORCID = "0000-0002-9814-092X")),
person(given = "Elizabeth", family = "Wenk", role = c("cur", "aut"), comment = c(ORCID = "0000-0001-5640-5910")),
person(given = "Rachael", family = "Gallagher", role = c("aut", "cur"), comment = c(ORCID = "0000-0002-4680-8115")),
person(given = "Gary", family = "Truong", role = c("ctb")),
person(given = "Stuart", family = "Allen", role = c("ctb")),
person("ARDC", role = c("fnd")),
person("ARC", role = c("fnd"))
Expand All @@ -17,43 +16,20 @@ BugReports: https://github.com/traitecoevo/austraits.build/issues
URL: http://traitecoevo.github.io/austraits.build/
License: BSD_2_clause + file LICENCE
Depends:
R (>= 3.6.0),
R (>= 4.2.0),
base,
traits.build,
dplyr,
lubridate,
readr,
stringr,
tidyr
stringr
Imports:
crayon,
git2r,
kableExtra,
magrittr,
purrr,
RefManageR,
remake,
rlang,
rmarkdown,
stringi,
styler,
testthat,
tibble,
whisker,
yaml
remake
Suggests:
austraits,
leaflet,
bibtex,
knitr,
bench,
devtools,
markdown,
rprojroot,
pkgdown,
rcrossref,
zip,
covr
Remotes:
traitecoevo/traits.build@develop,
traitecoevo/austraits@develop,
richfitz/remake
Encoding: UTF-8
Expand Down
44 changes: 0 additions & 44 deletions Dockerfile

This file was deleted.

81 changes: 0 additions & 81 deletions NAMESPACE

This file was deleted.

Loading

0 comments on commit 411f04f

Please sign in to comment.