Skip to content

Commit

Permalink
fix of get rds fn call and import of caret
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewphamilton committed Oct 14, 2021
1 parent dec0ffb commit ef3285a
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion R/fn_transform.R
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ transform_mdl_vars_with_clss <- function (ds_tb, predictors_lup = NULL, prototyp
if (is.null(predictors_lup))
data("predictors_lup", package = "youthvars", envir = environment())
if (is.null(prototype_lup))
prototype_lup <- ready4fun::get_rds_from_dv("prototype_lup")
prototype_lup <- ready4fun::get_rds_from_dv("prototype_lup",
server_1L_chr = "dataverse.harvard.edu")
if (!is.null(depnt_var_nm_1L_chr)) {
predictors_lup <- tibble::add_case(predictors_lup, short_name_chr = depnt_var_nm_1L_chr,
class_chr = "numeric", class_fn_chr = class_fn_1L_chr)
Expand Down
4 changes: 2 additions & 2 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
home:
links:
- text: Manual - User (PDF)
href: https://dataverse.harvard.edu/api/access/datafile/5251564
href: https://dataverse.harvard.edu/api/access/datafile/5254608
- text: Manual - Developer (PDF)
href: https://dataverse.harvard.edu/api/access/datafile/5251562
href: https://dataverse.harvard.edu/api/access/datafile/5254607
- text: Project website
href: https://ready4-dev.github.io/ready4/
development:
Expand Down
2 changes: 1 addition & 1 deletion data-raw/DATASET.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ x_ready4fun_manifest <- ready4fun::make_pkg_desc_ls(pkg_title_1L_chr = "Transfer
"https://ready4-dev.github.io/ready4/")) %>%
ready4fun::make_manifest(addl_pkgs_ls = ready4fun::make_addl_pkgs_ls(depends_chr = c("eq5d","ggfortify"),
suggests_chr = c("knitr","rmarkdown"),
imports_chr = c("betareg","knitrBootstrap")),
imports_chr = c("betareg","caret","knitrBootstrap")),
build_ignore_ls = ready4fun::make_build_ignore_ls(file_nms_chr = c("initial_setup.R")),
check_type_1L_chr = "ready4",
copyright_holders_chr = "Orygen",
Expand Down
3 changes: 2 additions & 1 deletion data-raw/fns/transform.R
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ transform_mdl_vars_with_clss <- function(ds_tb,
if(is.null(predictors_lup))
data("predictors_lup", package = "youthvars", envir = environment())
if(is.null(prototype_lup))
prototype_lup <- ready4fun::get_rds_from_dv("prototype_lup")
prototype_lup <- ready4fun::get_rds_from_dv("prototype_lup",
server_1L_chr = "dataverse.harvard.edu")
#data("prototype_lup", package = "TTU", envir = environment())
if(!is.null(depnt_var_nm_1L_chr)){
predictors_lup <- tibble::add_case(predictors_lup,
Expand Down
Binary file modified man/figures/fav120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ef3285a

Please sign in to comment.