Comments (10)
Hey @lottiegasp!
I am looking into this, one thing I can think of is the way the site is currently setup, we need to run this command https://github.com/langcog/metalab#updating-to-latest-data-optional locally when the datasets are updated. That will update the CSV and Rdata files in this directory, which you can then commit and will be used by the site when it's built: https://github.com/langcog/metalab/tree/main/shinyapps/site_data/csv . Can you confirm if that step was run? That may explain why the data wasn't showing up.
from metalab.
For the other issue involving the validator behavior, that one is my mistake. When the new site was being developed, I had temporarily commented out the deployment to the Shiny server so that we didn't overwrite the existing apps with the development version. Now that it's live, I will uncomment that part out. Will followup shortly when that's done.
from metalab.
Hey @lottiegasp , the issue with the validator should be fixed now. Please try it out when you can. To get the language discrimination dataset to show up under the domain, try this command locally, which will update all the data in the repository, then commit: https://github.com/langcog/metalab#updating-to-latest-data-optional
Thank you for the report!
from metalab.
Hi Erik,
Unfortunately the Data validator still shows false for dependent_measure, and the new levels in dependent_measure don't show up in Fields information.
I didn't know about that last step of running source(here::here("build", "update-metalab-data.R")), so that's good to know. When I run it I get the following message:
Dataset 'Language discrimination and preference' has invalid value 'reaction_time' for field 'dependent_measure'.
Dataset 'Language discrimination and preference' has invalid value 'number_sucks' for field 'dependent_measure'.
Dataset 'Language discrimination and preference' has invalid value 'trials_triggered' for field 'dependent_measure'.
Dataset 'Language discrimination and preference' has invalid value 'sucking_rate' for field 'dependent_measure'.
Dataset 'Language discrimination and preference' has invalid value 'peak_latency' for field 'dependent_measure'.
which suggests that it will be fixed when the data validator issue is fixed. Let me know if I can do something to help with this. Thanks!
from metalab.
Got it! This is fixed now and deployed. It was an issue that the metalabr package was still reading the metadata from the previous metalab2 repository. The site now has the new dataset that you added, thank you!
from metalab.
Hi @erikriverson, not sure if the issue is related, but I am having problems again getting the new datasets to appear on the website. When I run that line of code in RStudio I get the following error messages, and can't interpret them, can you help me?
source(here::here("build", "update-metalab-data.R"))
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
here() starts at C:/Users/loret/OneDrive/Documents/Work/MetaLab/metalab
Error: Internal error in vec_proxy_assign_opts()
: proxy
of type character
incompatible with value
proxy of type NULL
.
Run rlang::last_error()
to see where the error occurred.
rlang::last_error()
<error/rlang_error>
Internal error invec_proxy_assign_opts()
:proxy
of typecharacter
incompatible withvalue
proxy of typeNULL
.
Backtrace:
- base::source(here::here("build", "update-metalab-data.R"))
- metalabr::get_metalab_dataset_info(here("metadata", "datasets.yaml")) build/update-metalab-data.R:9:0
- dplyr::bind_rows(datasets)
- vctrs::vec_rbind(!!!dots, .names_to = .id)
Runrlang::last_trace()
to see the full context.
rlang::last_trace()
<error/rlang_error>
Internal error invec_proxy_assign_opts()
:proxy
of typecharacter
incompatible withvalue
proxy of typeNULL
.
Backtrace:
x
- +-base::source(here::here("build", "update-metalab-data.R"))
- | +-base::withVisible(eval(ei, envir))
- | -base::eval(ei, envir)
- | -base::eval(ei, envir)
- -metalabr::get_metalab_dataset_info(here("metadata", "datasets.yaml")) build/update-metalab-data.R:9:0
- -dplyr::bind_rows(datasets)
-
\-vctrs::vec_rbind(!!!dots, .names_to = .id)
-
\-(function () ...
from metalab.
Is this related to #46 ?
from metalab.
@erikriverson Now that #46 is resolved, I get a different error message when running this code in RStudio:
source(here::here("build", "update-metalab-data.R"))
Error in get_metalab_data(dataset_yaml, field_info = field_info) :
unused argument (field_info = field_info)
from metalab.
@lottiegasp , thank you for reporting that. Can you please paste the output of this command before running the install_github
command below, which should fix it?
renv::status()
To fix the issue, you can update the metalabr package, with
devtools::install_github("langcog/metalabr")
I'll try to think of a way to alert users when a new version of the package is required. If you don't yet have the devtools
package, you can install.packages('devtools')
from metalab.
@erikriverson here is the output
renv::status()
The following package(s) are no longer used in this project:
_
fs [1.5.0]
gargle [r-lib/gargle@retry]
googledrive [1.0.1]
uuid [0.1-4]
Use renv::snapshot()
to remove them from the lockfile.
I was also prompted to install Rtools40 in order to install metalabr, do we perhaps want to make that clearer in the instructions for people?
But otherwise, it worked, thanks for your help!
from metalab.
Related Issues (20)
- Add ESMARConf2022 presentation to website
- Publications and presentations about MetaLab
- Move all open issues from metalab2 to metalab
- Risk of bias tool revelant for experimental designs
- Synthesising tasks and documentation HOT 1
- Failed pull request for adding neonatal imitation dataset HOT 1
- Updating Mutual Exclusivity papers in progress
- Mutual exclusivity extra papers
- Correct error in the Categorization Bias in metalab HOT 1
- Infant directed speech dataset HOT 2
- Add new papers to Prosocial agents
- Extra tabular dataset? HOT 1
- functions for validating other metadata like spec.yaml HOT 1
- Show pre-registered/in-progress MAs on MetaLab HOT 1
- metapower tool
- Develop instructions for coding neurophysiological data
- Expand metalab format to accommodate longitudinal datasets HOT 1
- Add phonotactics dataset
- Add `method` as default visualization
- Fix visualization link on front page from graphic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metalab.