Skip to content

Commit

Permalink
Check revdeps
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 5, 2024
1 parent c59a506 commit 4cbe3e1
Show file tree
Hide file tree
Showing 28 changed files with 2,116 additions and 0 deletions.
8 changes: 8 additions & 0 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Revdeps

## New problems (1)

|package |version |error |warning |note |
|:-------|:-------|:--------|:-------|:------|
|[fr](problems.md#fr)|0.5.1 |1 __+2__ |__+1__ |__+1__ |

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
Package: crumble
Type: Package
Title: Flexible and General Mediation Analysis Using Riesz Representers
Version: 0.1.0
Authors@R:
c(person(given = "Nicholas",
family = "Williams",
role = c("aut", "cre", "cph"),
email = "[email protected]",
comment = c(ORCID = "0000-0002-1378-4831")),
person(given = "Richard",
family = "Liu",
email = "[email protected]",
role = c("ctb")),
person(given = "Iván",
family = "Díaz",
email = "[email protected]",
role = c("aut", "cph"),
comment = c(ORCID = "0000-0001-9056-2047")))
Maintainer: Nicholas Williams <[email protected]>
Description: Implements a modern, unified estimation strategy for common
mediation estimands (natural effects, organic effects, interventional effects,
and recanting twins) in combination with modified treatment policies as
described in Liu, Williams, Rudolph, and Díaz (2024)
<doi:10.48550/arXiv.2408.14620>. Estimation makes use of recent advancements
in Riesz-learning to estimate a set of required nuisance parameters with
deep learning. The result is the capability to estimate mediation effects with
binary, categorical, continuous, or multivariate exposures with
high-dimensional mediators and mediator-outcome confounders using machine
learning.
License: GPL (>= 3)
Encoding: UTF-8
Depends: R (>= 4.0.0)
RoxygenNote: 7.3.2
Imports: checkmate, Matrix, origami, torch, Rsymphony, purrr, cli, S7,
data.table, coro, generics, lmtp, mlr3superlearner, progressr
Suggests: testthat (>= 3.0.0), truncnorm, mma
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2024-09-17 16:37:07 UTC; nicholaswilliams
Author: Nicholas Williams [aut, cre, cph]
(<https://orcid.org/0000-0002-1378-4831>),
Richard Liu [ctb],
Iván Díaz [aut, cph] (<https://orcid.org/0000-0001-9056-2047>)
Repository: CRAN
Date/Publication: 2024-09-18 11:50:05 UTC
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@

R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> pkgname <- "crumble"
> source(file.path(R.home("share"), "R", "examples-header.R"))
> options(warn = 1)
> library('crumble')
>
> base::assign(".oldSearch", base::search(), pos = 'CheckExEnv')
> base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv')
> cleanEx()
> nameEx("crumble")
> ### * crumble
>
> flush(stderr()); flush(stdout())
>
> ### Name: crumble
> ### Title: Flexible and general mediation analysis
> ### Aliases: crumble
>
> ### ** Examples
>
>
>
>
> cleanEx()
> nameEx("crumble_control")
> ### * crumble_control
>
> flush(stderr()); flush(stdout())
>
> ### Name: crumble_control
> ### Title: Crumble control parameters
> ### Aliases: crumble_control
>
> ### ** Examples
>
> if (torch::torch_is_installed()) crumble_control(crossfit_folds = 5)
>
>
>
> cleanEx()
> nameEx("sequential_module")
> ### * sequential_module
>
> flush(stderr()); flush(stdout())
>
> ### Name: sequential_module
> ### Title: Sequential neural network module function factory
> ### Aliases: sequential_module
>
> ### ** Examples
>
> if (torch::torch_is_installed()) sequential_module()
>
>
>
> cleanEx()
> nameEx("tidy.crumble")
> ### * tidy.crumble
>
> flush(stderr()); flush(stdout())
>
> ### Name: tidy.crumble
> ### Title: Tidy a(n) crumble object
> ### Aliases: tidy.crumble
>
> ### ** Examples
>
>
>
>
> ### * <FOOTER>
> ###
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
Time elapsed: 0.748 0.052 0.801 0 0
> grDevices::dev.off()
null device
1
> ###
> ### Local variables: ***
> ### mode: outline-minor ***
> ### outline-regexp: "\\(> \\)?### [*]+" ***
> ### End: ***
> quit('no')
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(crumble)
>
> test_check("crumble")
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ]
>
> proc.time()
user system elapsed
0.436 0.101 0.438
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@

R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> pkgname <- "crumble"
> source(file.path(R.home("share"), "R", "examples-header.R"))
> options(warn = 1)
> library('crumble')
>
> base::assign(".oldSearch", base::search(), pos = 'CheckExEnv')
> base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv')
> cleanEx()
> nameEx("crumble")
> ### * crumble
>
> flush(stderr()); flush(stdout())
>
> ### Name: crumble
> ### Title: Flexible and general mediation analysis
> ### Aliases: crumble
>
> ### ** Examples
>
>
>
>
> cleanEx()
> nameEx("crumble_control")
> ### * crumble_control
>
> flush(stderr()); flush(stdout())
>
> ### Name: crumble_control
> ### Title: Crumble control parameters
> ### Aliases: crumble_control
>
> ### ** Examples
>
> if (torch::torch_is_installed()) crumble_control(crossfit_folds = 5)
>
>
>
> cleanEx()
> nameEx("sequential_module")
> ### * sequential_module
>
> flush(stderr()); flush(stdout())
>
> ### Name: sequential_module
> ### Title: Sequential neural network module function factory
> ### Aliases: sequential_module
>
> ### ** Examples
>
> if (torch::torch_is_installed()) sequential_module()
>
>
>
> cleanEx()
> nameEx("tidy.crumble")
> ### * tidy.crumble
>
> flush(stderr()); flush(stdout())
>
> ### Name: tidy.crumble
> ### Title: Tidy a(n) crumble object
> ### Aliases: tidy.crumble
>
> ### ** Examples
>
>
>
>
> ### * <FOOTER>
> ###
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
Time elapsed: 0.765 0.029 0.794 0 0
> grDevices::dev.off()
null device
1
> ###
> ### Local variables: ***
> ### mode: outline-minor ***
> ### outline-regexp: "\\(> \\)?### [*]+" ***
> ### End: ***
> quit('no')
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(crumble)
>
> test_check("crumble")
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 1 ]
>
> proc.time()
user system elapsed
0.434 0.102 0.459
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Package: fr
Title: Frictionless Standards
Version: 0.5.1
Authors@R:
person("Cole", "Brokamp", , "[email protected]", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0002-0289-3151"))
Description: A "tabular-data-resource" (<https://specs.frictionlessdata.io/tabular-data-resource/>) is a simple format to describe a singular tabular data resource such as a CSV file. It includes support both for metadata such as author and title and a schema to describe the data, for example the types of the fields/columns in the data. Create a tabular-data-resource by providing a data.frame and specifying metadata. Write and read tabular-data-resources to and from disk.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.2.3
Imports: cli, purrr, vroom, S7 (>= 0.1.1), tibble, tidyselect, yaml,
dplyr, rlang
Suggests: testthat (>= 3.0.0), withr, fs, knitr, rmarkdown
Config/testthat/edition: 3
Config/testthat/parallel: true
URL: https://github.com/cole-brokamp/fr,
https://cole-brokamp.github.io/fr/
BugReports: https://github.com/cole-brokamp/fr/issues
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2023-11-30 19:49:46 UTC; cole
Author: Cole Brokamp [aut, cre, cph] (<https://orcid.org/0000-0002-0289-3151>)
Maintainer: Cole Brokamp <[email protected]>
Repository: CRAN
Date/Publication: 2023-11-30 20:00:02 UTC
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> pkgname <- "fr"
> source(file.path(R.home("share"), "R", "examples-header.R"))
> options(warn = 1)
> library('fr')
>
> base::assign(".oldSearch", base::search(), pos = 'CheckExEnv')
> base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv')
> cleanEx()
> nameEx("as_data_frame")
> ### * as_data_frame
>
> flush(stderr()); flush(stdout())
>
> ### Name: as_data_frame
> ### Title: Coerce a 'fr_tdr' object into a data frame
> ### Aliases: as_data_frame
>
> ### ** Examples
>
> as_fr_tdr(mtcars, name = "mtcars") |>
+ as_data_frame()
Error: <fr::fr_schema> object is invalid:
- all items in @fields should be fr_field objects
Execution halted
Loading

0 comments on commit 4cbe3e1

Please sign in to comment.